2 ms·
Haha, XOR'd pointers to compress a doubly-linked-list to use a single pointer for both previous and next references. Brilliant and deadly. Gotta love it.
by Groxx 17y ago
Haha, XOR'd pointers to compress a doubly-linked-list to use a single pointer for both previous and next references.
Brilliant and deadly. Gotta love it.