[issue16562] Optimize dict equality test
Serhiy Storchaka
report at bugs.python.org
Mon Nov 26 22:26:17 CET 2012
Serhiy Storchaka added the comment:
Here is a simple patch.
> Note, the optimized path should be used only when PyDict_CheckExact() is true.
Actually this is not needed. dict_equal() uses the same code for dict subclasses.
----------
keywords: +patch
nosy: +serhiy.storchaka
stage: -> patch review
Added file: http://bugs.python.org/file28137/dict_equal_hash_reuse.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16562>
_______________________________________
More information about the Python-bugs-list
mailing list