2008/8/27 [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I would like to get the references to objets to put in a huge data > structure (like a list or a heap for example). My objective is to use > as less memory as possible as I have to manage huge amount of entries > in my data structure and need to use the same elsewhere.
A list only *ever* contains references to objects, so there's nothing special to do. I do strongly recommend this article: <http://effbot.org/zone/python-objects.htm>. -- Cheers, Simon B. -- http://mail.python.org/mailman/listinfo/python-list