Memory footpring of python objects

Marco Mariani marco at sferacarta.com
Wed Apr 22 05:56:38 EDT 2009


BlueBird wrote:

> I have a program that manages several thousands instances of one
> object. To reduce memory
> consumption, I want of course that specific object to have the
> smallest memory footpring possible.

Have you thought of using something like the flyweight pattern and a 
compact data representation like a numpy array?




More information about the Python-list mailing list