Re: Python object overhead?
Bruno Desthuilliers a écrit :
(snip)
Hem... Forget about this comment - not enough coffein yet I'm afraid.
Bruno Desthuilliers a écrit :
Matt Garman a écrit :
class FileRecord(obje ct):
>
>
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.
>
>
> def __init__(self, line):
> self.line = 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.
>
Comment