Raymond Hettinger added the comment:

Curiously, this patch gives about a 10% to 15% speedup.  Any sense of how that 
improvement arises?

$ py3.7 -m timeit -s 'from bisect import bisect' -s 'a=list(range(100))' 
'bisect(a, 10)'

229 nsec     # Clang baseline 
202 nsec     # Clang with patch

189 nsec     # GCC-6 baseline
156 nsec     # Gcc-6 with patch

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue28754>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to