in reply to Re^5: Re-orderable keyed access structure?
in thread Re-orderable keyed access structure?
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