https://en.wikipedia.org/wiki/Fast_inverse_square_root
Elegant code should be simple, readable, and apply some leverage to make a difficult problem more clear.
Going back even further some of the early 8bit games were engineering marvels where the only hacks were to squeeze out every last bit of memory.
Elegant code should be simple, readable, and apply some leverage to make a difficult problem more clear.