Buckets:
| export default shuffler(Math.random); | |
| export function shuffler(random) { | |
| return function shuffle(array, i0 = 0, i1 = array.length) { | |
| let m = i1 - (i0 = +i0); | |
| while (m) { | |
| const i = random() * m-- | 0, t = array[m + i0]; | |
| array[m + i0] = array[i + i0]; | |
| array[i + i0] = t; | |
| } | |
| return array; | |
| }; | |
| } | |
Xet Storage Details
- Size:
- 329 Bytes
- Xet hash:
- ca228115d1f27de8db0defd1bf0a689c77f13587500731b20bb3d935fd5776d3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.