Naftali Harris personal blog

How I Got a 2x Speedup With One Line of Code

If you had asked me whether or not it was possible to get a 2x speedup for my LazySorted project by adding a single line of code, I would have told you "No way, substantial speedups can really only come from algorithm changes." But surprisingly, I was able to do so by adding a single line using the __builtin_prefetch…
Points
216
HN comments
56
Submissions
1
Cited by
0 commenters

Software EngineeringSystems & Performance2013

On Hacker News

SubmittedTitle on HNPointsComments
Nov 14, 2013How I Got a 2x Speedup With One Line of Code by naftaliharris21656

More from Naftali Harris

All 2 posts →

Related posts from the same era