Santiago Romero
1/10/2008 8:15:00 AM
> Would you care to precisely define "REAL size" first? Consider:
>
> >>> atuple = (1, 2)
> >>> mylist = [(0, 0), atuple]
>
> Should sizeof(mylist) include sizeof(atuple) ?
No, I'm talking about "simple" lists, without REFERENCES to another
objects into it.
I mean:
lists = [ 0, 1, 2, 3, 4, (1,2), 3]
or
array = [ [0,0,0,0,0,0,0], [1,1,1,1,2,1,2], ... ]
Maybe I can "pickle" the object to disk and see the filesize ... :-?