News for hackers. Stuff that matters.
Re:Optimizations on Linear Search (2016) by staticassertion on Saturday October 03, 2020 @12:32PM (#24673059)
> even 1ms I immediately take a look and make sure something isn't wrong.

Agreed. I didn't realize this when I was newer to programming, and I think it's in part because I was "thinking in milliseconds".

https://gist.github.com/jboner/2841832

latency.txt was a game changer for me, as well as starting to measure things in terms of nanoseconds.

Side note: is there an updated latency.txt?

Re:Optimizations on Linear Search (2016) by antiuniverse on Saturday October 03, 2020 @04:39PM (#24674519)
You might also enjoy “Memory Bandwidth Napkin Math”:

https://www.forrestthewoods.com/blog/memory-bandwidth-napkin...

Re:Optimizations on Linear Search (2016) by staticassertion on Saturday October 03, 2020 @09:52PM (#24676045)
Thank you, much appreciated.
Re:Optimizations on Linear Search (2016) by formerly_proven on Saturday October 03, 2020 @01:59PM (#24673620)
> Side note: is there an updated latency.txt?

It hasn't changed.