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?
-- http://mail.python.org/mailman/listinfo/python-list