in reply to Re^5: Re-orderable keyed access structure?
in thread Re-orderable keyed access structure?
I' not irked by the second slice, just exploring the options. Replacing @keyFor with a %keyFor wouldn't work. Once @array has been reordered, the key=>index mappings need an equivalent reordering (hence the second slice), but that would be impossible (or very expensive) using a hash to store them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Re-orderable keyed access structure?
by Aristotle (Chancellor) on Aug 14, 2004 at 20:30 UTC | |
by BrowserUk (Patriarch) on Aug 14, 2004 at 20:53 UTC |