in reply to Re: Re-orderable keyed access structure?
in thread Re-orderable keyed access structure?
Everytime an array element changed position, not only it's index changes, but a lot of--and sometimes all--other array elements indices change also. That would require iterating the hash (via the array of keys) to adjust all the embedded indices.
It's not the complexity that is the problem, it is the time element.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Re-orderable keyed access structure?
by etcshadow (Priest) on Aug 14, 2004 at 04:00 UTC | |
by BrowserUk (Patriarch) on Aug 14, 2004 at 04:16 UTC | |
by etcshadow (Priest) on Aug 14, 2004 at 04:21 UTC | |
by BrowserUk (Patriarch) on Aug 14, 2004 at 04:39 UTC | |
by Aristotle (Chancellor) on Aug 14, 2004 at 05:09 UTC | |
by BrowserUk (Patriarch) on Aug 14, 2004 at 15:01 UTC | |
by BrowserUk (Patriarch) on Aug 14, 2004 at 04:18 UTC |