Christian Heimes added the comment: I'm not too worried about the slightly increased memory usage. For example one of our largest application instances consumes about 8 GB memory right now. It has just about 22k tuples in gc.get_objects(). An additional Py_hash_t in tuple's struct would increase the memory usage by less than 200kB.
I've attached a simple patch. ---------- keywords: +patch nosy: +christian.heimes stage: needs patch -> patch review Added file: http://bugs.python.org/file28605/tuplehash.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9685> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com