Message152373
Raymond Hettinger wrote:
> Raymond Hettinger <raymond.hettinger@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. |
|
Date |
User |
Action |
Args |
2012-01-31 10:38:17 | Mark.Shannon | set | recipients:
+ Mark.Shannon, rhettinger, terry.reedy, gregory.p.smith, pitrou, vstinner, giampaolo.rodola, pjenvey, benjamin.peterson, jcon |
2012-01-31 10:38:17 | Mark.Shannon | link | issue13903 messages |
2012-01-31 10:38:16 | Mark.Shannon | create | |
|