6 comments

[ 3.7 ms ] story [ 19.6 ms ] thread
When I read the swapping capability... mind -> blown.
If anyone else is looking for a compendium of these sorts of nifty tricks, I highly recommend Hackers Delight by Hank Warren. Its a lovely book to have when you're stuck in tight corners.
Seconded. I doubt there's a person in the world who couldn't learn something from Hacker's Delight.
It's nifty alright but be aware that are just about no situations where these kinds of tricks are useful. It's clever but slower, more unclear and uses more instructions which also is slower.
Xor is amazing. Look into it and you'll find it shits out fractals like they are nothing