Theodore H. Smith wrote:
>
>
> I use double-linked lists for file caching. Then I moved it over to  
> using my RingTree class. It's slightly wasteful here, because for  
> each object, 8 bytes are wasted on unneeded parent and child  
> properties. But it's OK really. 8 bytes per object isn't much when  
> you have around 200 objects max.
>   
You could get aound this 'issue' by using a XOR linked list instead of a 
double linked list.

Saves on RAM, but my guess is that it would be slightly slower.

Ronald Vogelaar
http://www.rovosoft.com
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to