Dr.Ruud am Donnerstag, 19. Januar 2006 00.49: > John Doe schreef: > > In constrast to the other presented solutions using a a hash slurping > > all data from the intput file, the advantage of my solution is that > > it is *capable to handle 300GB input files* even with 128MB RAM. > > Also in contrast is that your solution assumes sorted input, which > wasn't anounced.
But it was present in the sample data. If it wasn't, I would have suggested a preliminary non-inmemory sort technique. > The hash isn't slurping all data: only the unique values of the first > column are stored. I should have said "the hash and its contained arrayrefs", sorry for that and my bad english in general. greets joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>