Sorting Large File (Code/Performance)

John Nagle nagle at animats.com
Thu Jan 24 14:56:48 EST 2008


Ira.Kovac at gmail.com wrote:
> Hello all,
> 
> I have an Unicode text file with 1.6 billon lines (~2GB) that I'd like
> to sort based on first two characters.

    Given those numbers, the average number of characters per line is
less than 2.  Please check.
	
				John Nagle



More information about the Python-list mailing list