Re:XOR Linked List
by pmjordan on Thursday May 03, 2012 @06:54PM
(#3926206)
Generally, it doesn't allow you to walk the list given the pointer to an entry. You always need to know the addresses of two adjacent list entries. And yes, this limits its usefulness in practice. I tend to only need doubly linked lists where I want to be able to remove or insert an arbitrary element without walking the list, and you can't do that with an xor list.
[ Parent
| on HN ]
There are no comments on this comment yet.