[Tutor] Why is an instance smaller than the sum of its components?

Jugurtha Hadjar jugurtha.hadjar at gmail.com
Tue Feb 3 23:52:17 CET 2015


On 02/03/2015 11:28 PM, Zachary Ware wrote:
>
> For the OP: while this will probably be a nice exercise for learning
> more about Python's internals, please keep in mind that 9 times out of
> 10 you won't need to worry about memory usage in Python, especially
> not before you've proven to yourself that your program is using more
> memory than is acceptable.
>

Thanks for the pointer, I was scratching the itch on my way to do 
something else... But this stuff is fascinating and hard to resist!


-- 
~Jugurtha Hadjar,


More information about the Tutor mailing list