Buckets:
| export default function nice(domain, interval) { | |
| domain = domain.slice(); | |
| var i0 = 0, | |
| i1 = domain.length - 1, | |
| x0 = domain[i0], | |
| x1 = domain[i1], | |
| t; | |
| if (x1 < x0) { | |
| t = i0, i0 = i1, i1 = t; | |
| t = x0, x0 = x1, x1 = t; | |
| } | |
| domain[i0] = interval.floor(x0); | |
| domain[i1] = interval.ceil(x1); | |
| return domain; | |
| } | |
Xet Storage Details
- Size:
- 345 Bytes
- Xet hash:
- 99b3223d3a992f75e05c7e971a8260eb25c9f8aa08151d5e75873b9656b4bdd0
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.