A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-October/113801.html below:

[Python-Dev] RFC: Add a new builtin strarray type to Python?

[Python-Dev] RFC: Add a new builtin strarray type to Python? [Python-Dev] RFC: Add a new builtin strarray type to Python?Simon Cross hodgestar+pythondev at gmail.com
Sun Oct 2 19:23:19 CEST 2011
On Sat, Oct 1, 2011 at 7:17 PM, Victor Stinner
<victor.stinner at haypocalc.com> wrote:
> I'm writing this email to ask you if this type solves a real issue, or if we
> can just prove the super-fast str.join(list of str).

I'm -1 on hacking += to be fast again because having the two loops
below perform wildly differently is *very* surprising to me:

s = ''
for x in loops:
    s += x

s = ''
for x in loops:
    s = s + x

Schiavo
Simon
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4