![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^6: Re-orderable keyed access structure?by Aristotle (Chancellor) |
on Aug 14, 2004 at 05:09 UTC ( #382902=note: print w/replies, xml ) | Need Help?? |
This is essentially the same as I proposed: a main data structure carrying the payload, and two auxiliary ones for bidirectionality — except you the bidirectionality in your setup is between the main and one auxiliary structure, while in mine it is between the two auxiliary structures. By doing it that there's no need for references at all. Makeshifts last the longest.
In Section
Seekers of Perl Wisdom
|
|