Deep JavaScript: Theory and Techniques
One of the things I love about JavaScript is that you can write an almost 10x faster hash table than the standard library if you take care of cache misses and GC: <a href="https://github.com/ronomon/hash-table#motivation" rel="nofollow">https://github.com/ronomon/hash-table#motivation</a><p>In fact, all the usual low-level optimization techniques like reducing branch mispredictions and expensive memory accesses apply, and make a huge difference, even though you're writing in a high-level language.