[issue3236] ints contructed from strings don't use the smallint constants
Martin v. Löwis
report at bugs.python.org
Sun Jun 29 23:52:45 CEST 2008
Martin v. Löwis <martin at v.loewis.de> added the comment:
> The bug entry is just for pointing out a missed optimization
> opportunity. The first mentioned solution would already be an
> improvement, although of course it would even be better to skip the
> intermediary allocation altogether.
Can you propose an implementation strategy that doesn't create the
object, yet still avoids duplication of large chunks of code?
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3236>
_______________________________________
More information about the Python-bugs-list
mailing list