←back to thread

420 points gnabgib | 2 comments | | HN request time: 0.437s | source
Show context
qingcharles ◴[] No.43999955[source]
I love these incomprehensible magic number optimizations. Every time I see one I wonder how many optimizations like this we missed back in the old days when we were writing all our inner loops in assembly?

Does anyone have a collection of these things?

replies(4): >>43999992 #>>44000134 #>>44000173 #>>44000633 #
1. owl_vision ◴[] No.44000173[source]
there is "Hacker's Delight" by Henry S. Warren, Jr.

https://en.wikipedia.org/wiki/Hacker's_Delight

replies(1): >>44000223 #
2. qingcharles ◴[] No.44000223[source]
Looks awesome, thank you :)