New submission from Manuel Ebert <[email protected]>:
Under "String concatenation is expensive", it suggests using
s = "%(head)s%(body)s%(maybe)s%(tail)s" % locals()
or
s = "{head}{body}{maybe}{tail}".format(locals())
The latter should read `.format(**locals())` instead.
----------
messages: 5974
nosy: maebert, pypy-issue
priority: bug
status: unread
title: "bug" on http://www.pypy.org/performance.html
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1555>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue