4 ms·
Oooooh, that is "square root magic constant" levels of dirty.
by bitwize 5y ago
Oooooh, that is "square root magic constant" levels of dirty.
- pfdietz 5y agoAlso, it lets you implement fixnums with zero low order bits. That is, fixnum x is implemented as x << 2 (on 32 bit machines) or x << 3 (on 64 bit machines). With this encoding, addition and subtraction that is known to produce another fixnum can be done with ordinary add/sub instructions.