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

Sergey Litvinov report at bugs.python.org
Thu Dec 11 15:00:41 CET 2014


Sergey Litvinov added the comment:

mark.dickinson> do you have an example of the Lib/bisect.py code

No. I was thinking about something hypothetical similar to the one you
provided.

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

I agree and do not object to closing the report.

----------

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


More information about the Python-bugs-list mailing list