[issue24362] Simplify the fast nodes resize logic in C OrderedDict.

Eric Snow report at bugs.python.org
Wed Jun 3 00:47:45 CEST 2015


Eric Snow added the comment:

Here's a patch that adds stores the hash on each node.  This eliminates the need to call PyObject_Hash when rebuilding the fast nodes table during a resize.  The patch also drops a superfluous while loop.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file39598/issue24362-odict-resize.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24362>
_______________________________________


More information about the Python-bugs-list mailing list