←back to thread

305 points todsacerdoti | 1 comments | | HN request time: 0s | source
Show context
mdf ◴[] No.44062156[source]
There's something about real optimization stories that I find fascinating – particularly the detailed ones including step-by-step improvements and profiling to show how numbers got better. In some way, they are satisfying to read.

Nicholas Nethercote's "How to speed up the Rust compiler" writings[1] fall into this same category for me.

Any others?

[1] https://nnethercote.github.io/

replies(5): >>44062243 #>>44064519 #>>44064811 #>>44064856 #>>44065073 #
1. dpacmittal ◴[] No.44064519[source]
I read an article a while ago where the goal is to process a file as fast as possible and the article talks about compressing the data chunks so they fit in L1 cache. The cache misses were slower than compressing and decompressing the data from L1 cache.

I've been trying to find that article ever since but I'm not able to. Anyone knows the article I'm talking about?