This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients larry, martin.panter, mdk, rhettinger, vstinner
Date 2016-11-26.10:19:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1480155590.08.0.901636725856.issue28754@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2016-11-26 10:19:50rhettingersetrecipients: + rhettinger, vstinner, larry, martin.panter, mdk
2016-11-26 10:19:50rhettingersetmessageid: <1480155590.08.0.901636725856.issue28754@psf.upfronthosting.co.za>
2016-11-26 10:19:50rhettingerlinkissue28754 messages
2016-11-26 10:19:49rhettingercreate