[Python-Dev] PyDict_SetItem hook

Raymond Hettinger python at rcn.com
Fri Apr 3 00:20:32 CEST 2009

>> It seems weird to me that Collin's group can be working
>> so hard just to get a percent or two improvement in 
>> specific cases for pickling while python-dev is readily 
>> entertaining a patch that slows down the entire language.  

[Antoine Pitrou]
> I think it's really more than a percent or two:
> http://bugs.python.org/issue5670

For lists, it was a percent or two:

I expect Collin's overall efforts to payoff nicely.  I was
just pointing-out the contrast between module specific
optimization efforts versus anti-optimizations that affect
the whole language.


More information about the Python-Dev mailing list