
CPU Cache and JavaScript: Why Sorting an Array Can Make Loops 7x Slower
How memory locality and CPU cache misses affect JavaScript: why array order changes loop speed for large arrays of objects, and when typed arrays help.
Nov 6, 20264 min read0 reactions0 comments