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

Antoine Pitrou report at bugs.python.org
Thu Mar 22 23:44:57 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Ok. In the current state it doesn't look detrimental, although I'm not convinced it's that useful either.
That said, the implementation needs a bit of work, I don't think it's ok for float_is_positive_zero() to use the Py_LONG_LONG casting thing.

----------

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


More information about the Python-bugs-list mailing list