in reply to In-place sort with order assignment
But I would go a different way: write all the keys to a file, one key per line. Call sort(1). Read the sorted file. Assign $. to each value.
And I'd look into finding the sort order at the moment you're creating the huge hash.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: In-place sort with order assignment
by BrowserUk (Patriarch) on Sep 20, 2010 at 13:52 UTC | |
by JavaFan (Canon) on Sep 20, 2010 at 14:06 UTC | |
by BrowserUk (Patriarch) on Sep 20, 2010 at 14:32 UTC | |
by rowdog (Curate) on Sep 20, 2010 at 22:37 UTC | |
by BrowserUk (Patriarch) on Sep 21, 2010 at 00:15 UTC | |
by tye (Sage) on Sep 21, 2010 at 05:28 UTC | |
by BrowserUk (Patriarch) on Sep 21, 2010 at 05:47 UTC | |
by tye (Sage) on Sep 21, 2010 at 07:00 UTC | |
by BrowserUk (Patriarch) on Sep 21, 2010 at 08:37 UTC | |
| |
by JavaFan (Canon) on Sep 21, 2010 at 11:50 UTC | |
|