[Tutor] Trying to parse a HUGE(1gb) xml file in python

Stefan Behnel stefan_ml at behnel.de
Tue Dec 21 12:19:00 CET 2010

David Hutto, 21.12.2010 12:02:
> On Tue, Dec 21, 2010 at 5:45 AM, Alan Gauld wrote:
>> 8 bytes to describe an int which could be represented in
>> a single byte in binary (or even in CSV).

Well, "CSV" indicates that there's at least one separator character 
involved, so make that an asymptotic 2 bytes on average. But obviously, 
compression applies to CSV and other 'readable' formats as well.

> But that byte can't describe the tag

Yep, that's an argument that Alan already presented.


More information about the Tutor mailing list