On Tue, 24 Apr 2012 10:24:16 +0000 Kristján Valur Jónsson <krist...@ccpgames.com> wrote: > > Btw, this is of great interest to me at the moment, our Shanghai engineers > are screaming at the > memory waste incurred by dictionaries. A 10 item dictionary consumes 1/2k on > 32 bits, did you > know this?
The sparseness of hash tables is a well-known time/space tradeoff. See e.g. http://bugs.python.org/issue10408 Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com