[issue1747670] Limiting data copy in xmlrpclib

Antoine Pitrou report at bugs.python.org
Fri Mar 22 10:50:33 CET 2013


Antoine Pitrou added the comment:

Well, str.join() already optimizes this case to avoid copies:

>>> s = "x" * 50
>>> id(s)
139712615414000
>>> id(''.join([s]))
139712615414000

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list