Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2020-10-10 17:27:00 +03:00
parent a71459a5cb
commit aedc9f0e7f

View File

@ -317,16 +317,24 @@ This will return `true` if:
#### `<array>.inplaceSortAs(..)`
#### `<array>.toKeys(..)`
#### `<array>.toMap(..)`
### Large `Array` iteration (chunked)
Iterating over very large `Array` instances in JavaScript can block execution,
to avoid this `types.js` implements `.map(..)`/`.filter(..)`/`.reduce(..)`
equivalent methods that split the array into chunks and iterate through
them asynchroniosly giving the runtime a chance to run in between.
#### `<array>.mapChunks(..)`
#### `<array>.filterChunks(..)`
#### `<array>.reduceChunks(..)`
#### `<array>.toKeys(..)`
#### `<array>.toMap(..)`
### `Array` (polyfill)