Javascript performance


His biggest point is “do not optimize prematurely”. This is a sentiment I’ve heard a few times. Fred Brooks emphasizes it in Mythical Man Month, and Eric Raymond harps on it a bit in Art of Unix Programming.

Another point he makes is how using “weird language syntax” like double bitwise not is sometimes faster than their functional equivalents like parseInt.

And one surprising revelation (for me anyway) is that unrolled loops can sometimes be faster.

Overall, a great presentation, well worth your time if you work with javascript a lot.

No related content found.

Share

Leave a comment