
report at bugs
Jan 31, 2012, 2:38 AM
Post #16 of 35
(55 views)
Permalink
|
|
[issue13903] New shared-keys dictionary implementation
[In reply to]
|
|
Mark Shannon <mark [at] hotpy> added the comment: Raymond Hettinger wrote: > Raymond Hettinger <raymond.hettinger [at] gmail> added the comment: > > Changing dictionaries is a big deal. You're changing many pieces at once (not a good idea) including changing tunable parameters that are well-studied (I spent a month testing whether 5/8 was better idea that 2/3 for resizing or when the ideal small dict size was 4, 8, or 16). You're changing the meaning of the fields in dictobject.h which will likely break any code that relied on those. > > The ideas may be good ones but they warrant a good deal of thought. Dicts weren't just slapped together -- the current code is the product to two decades of tweaking by engineers who devoted significant time to the task. It would be easy to unknowingly undo some of their work. > OK. I'll write a PEP. By the way, I'm trying not changing the tunable parameters for the unshared-keys case, just the shared-keys case. Of course, they do interact with each other. ---------- _______________________________________ Python tracker <report [at] bugs> <http://bugs.python.org/issue13903> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|