Python object overhead?

Bruno Desthuilliers bruno.42.desthuilliers at wtf.websiteburo.oops.com
Mon Mar 26 06:20:18 EDT 2007


Bruno Desthuilliers a écrit :
> Matt Garman a écrit :
(snip)
> class FileRecord(object):
> 
>>    def __init__(self, line):
>>        self.line = line
> 
> If this is your real code, I don't see any reason why this should eat up 
> 3 times more space than the original version.
> 

Hem... Forget about this comment - not enough coffein yet I'm afraid.



More information about the Python-list mailing list