[issue14381] Intern certain integral floats for memory savings and performance

Raymond Hettinger report at bugs.python.org
Fri Mar 23 21:11:47 CET 2012


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

FWIW, I'm -1 on making the change.  Any memory savings would be microscopic for most Python programs.  And anything that slows down float creation (even a teeny bit) is detrimental to all Python programs.  We're better off not adding special case logic unless there is a clear benefit (there isn't).

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list