in reply to
Re: Slow at sorting?
in thread
Slow at sorting?
And then, why not pack the offset on the end, and unpack substr -4 when you're done. Then you're down to a simple array sort and the only problem is the original one: sooner or later you scale up till you're paging forever.
 
p
Comment on
Re: Re: Slow at sorting?
Replies are listed 'Best First'.
Re: Re: Re: Slow at sorting?
by
guha
(Priest)
on Nov 22, 2001 at 04:08 UTC
True, but I'm not certain that the hash is slower only that it requires more memory, however that has to be tested, IMHO.
[reply]
In Section
Seekers of Perl Wisdom