[issue19369] PyObject_LengthHint is slow
Serhiy Storchaka
report at bugs.python.org
Wed Oct 23 23:43:58 CEST 2013
Serhiy Storchaka added the comment:
Here is a patch which uses _PyObject_HasLen. It has same performance but is much simpler.
----------
Added file: http://bugs.python.org/file32323/lengthhint_2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19369>
_______________________________________
More information about the Python-bugs-list
mailing list