> > Checking for a dup key in PyDict_SetItem() before calling dictresize() > > slows things down. Checking in insertdict() is wrong because > > dictresize() uses that! > > Maybe you could do the check for resize *after* the call to > insertdict? I think that would work, but I wouldn't like to go > messing with such a performance critical bit of code without some > careful thinking. No, that could still decide to resize, couldn't it? --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4