[issue23007] Unnecessary big intermediate result in Lib/bisect.py

Raymond Hettinger report at bugs.python.org
Tue Dec 9 11:14:47 CET 2014


Raymond Hettinger added the comment:

I agree with Mark.  This code is *very* old and AFAICT it has never caused a problem in practice.   

The "textbook" formula is more important in languages without something like Python long ints.  In Python, "textbook" form just slows down and obfuscates the intention of the code.

----------
status: pending -> open

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23007>
_______________________________________


More information about the Python-bugs-list mailing list