Julien Palard added the comment:
New simplier patch thanks to https://bugs.python.org/issue28792. Also corrected
docstrings.
Also ran a micro-benchmark of `bisect.bisect(foo, "c")` with `foo =
list("abcdef")`:
Median +- std dev: [before] 434 ns +- 17 ns -> [after] 369 ns +- 22 ns: 1.18x
faster
FTR: ./python -m perf timeit -s 'import bisect; foo = list("abdef")'
'bisect.bisect(foo, "c")' -o after.json --inherit=PYTHONPATH --affinity=2,3
----------
Added file: http://bugs.python.org/file45628/issue28754-5.diff
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue28754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com