On Mon, 14 Feb 2005 20:25:18 +0530, Vishal Vasan <[EMAIL PROTECTED]> wrote:
> Sorry about that. The file has 36,000,000 records.
> 
> Regards,
> --V
> 
> 
> On Mon, 14 Feb 2005 20:24:15 +0530, Vishal Vasan <[EMAIL PROTECTED]> wrote:
> > Hello All,
> >
> > I am trying to sort a file with records. I have tried to slurp all the
> > records present in the file to memory but the memory has run out.
> >
> > Now I am doing it in shell script itself and it takes around 2 hours
> > for the file. I have around 10 files more to go. Could somebody help
> > me as to how to sort the file in some efficient way to sort the file?
> > I am trying to implement mergesort and found that by default perl v5.8
> > uses merge sort hoping that it would be faster.
> >
> > Regards,
> > Vishal.
> >

Vishal,

the only way we could help you do something different is to know what
you're doing now.  We could discuss algorithms all day, but that
wouldn't help the implementation.  Let us see the code you've written,
an someon will probably have a suggestion.

best,

--jay

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to