Message198104
| Author |
pitrou |
| Recipients |
amaury.forgeotdarc, loewis, pitrou, rhettinger, serhiy.storchaka |
| Date |
2013年09月19日.18:09:24 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1379614162.2511.14.camel@fsol> |
| In-reply-to |
<1379613992.26.0.266953054997.issue19048@psf.upfronthosting.co.za> |
| Content |
> 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? |
|