in reply to Slow at sorting?
Another possibility. When faced with sorting an 800 Meg Search index, I gave up using pure Perl and just used system to punt it off to GNU sort. It went from over 8 hours to around 30 minutes. I had no desire to recreate the functionality of handling files this size. I just needed it to work.
You also might want to check out Mastering Algorithims in Perl by O'Reilly. It has a really good chapter on sorting.
-Lee
"To be civilized is to deny one's nature."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: Slow at sorting?
by tilly (Archbishop) on Nov 22, 2001 at 01:56 UTC | |
by FoxtrotUniform (Prior) on Nov 22, 2001 at 02:39 UTC | |
by tilly (Archbishop) on Nov 22, 2001 at 03:21 UTC | |
by shotgunefx (Parson) on Nov 22, 2001 at 02:15 UTC |