Skip to content

Releases: vzhou842/faster.js

Preallocation for array-map

25 Apr 03:47
Compare
Choose a tag to compare

Results arrays for the array-map optimization are now preallocated using new Array(arr.length). Compare performance with/without preallocation by running node bench/array-map-preallocation.js.