Y
Hacker News
new
|
ask
|
show
|
jobs
by
sbr464
1680 days ago
Function callbacks are definitely slower. You could probably shave another 10% by changing the array.push() calls to direct assignments: array[array.length] = value. Same with the nested array.map, changing to a for loop.