Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've curious, under what conditions is a smushed list useful?


Actually, this one is real. AKA "parity". Another example (with n=2) is to create a doubly-linked list while only storing one pointer (ptr = prev_node xor next_node).


Oh, I hadn't made the connection between those and the general statement. Thanks for the clarification.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: