Re: [Python-Dev] Reducing memory overhead for dictionaries by removing me_hash

2006-04-24 Thread Kirat Singh
very true, but python makes it oh so easy to be lazy :-)On 4/24/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: On 4/23/06, "Martin v. Löwis" <[EMAIL PROTECTED] > wrote:> Kirat Singh wrote:> > The reason I looked into this to begin with was that my code used up

Re: [Python-Dev] Reducing memory overhead for dictionaries by removing me_hash

2006-04-23 Thread Kirat Singh
h was traceable to lots of little objects with instance dicts, so it seemed that if instancedicts took less memory I wouldn't have to go and add __slots__ to a bunch of my classes, or rewrite things as tuples/lists, etc. thanks!-KiratOn 4/23/06, Tim Peters <[EMAIL PROTECTED]> wrote:

[Python-Dev] Reducing memory overhead for dictionaries by removing me_hash

2006-04-22 Thread Kirat Singh
Hi, this is my first python dev post, so please forgive me if this topic has already been discussed.It seemed to me that removing me_hash from a dict entry would save 2/3 of the space used by dictionaries and also improve alignment of the entries since they'd be 8 bytes instead of 12. And sets end