Mark Shannon <m...@hotpy.org> added the comment:

Raymond Hettinger wrote:
> Raymond Hettinger <raymond.hettin...@gmail.com> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13903>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to