Message198104
> I see no problem with that. If the internal representation changes,
> nobody should be surprised if sizeof changes.
Who is "nobody"? Users aren't aware of internal representation changes.
It sounds like you want sys.getsizeof() to be a tool for language
implementors anyway.
> I proposed a precise definition of what "an other object" is. If you don't like it,
> please propose a different definition that still allows to automatically sum up the
> memory of a graph of objects.
What is the use case for "summing up the memory of a graph of objects?
How do you stop walking your graph if it spans the whole graph of Python
objects? |
|
Date |
User |
Action |
Args |
2013-09-19 18:09:24 | pitrou | set | recipients:
+ pitrou, loewis, rhettinger, amaury.forgeotdarc, serhiy.storchaka |
2013-09-19 18:09:24 | pitrou | link | issue19048 messages |
2013-09-19 18:09:24 | pitrou | create | |
|