Sorting Large File (Code/Performance)

John Nagle nagle at
Thu Jan 24 20:56:48 CET 2008

Ira.Kovac at 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