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/2006-October/069234.html below:

[Python-Dev] PATCH submitted: Speed up + for string concatenation, now as fast as "".join(x) idiom

[Python-Dev] PATCH submitted: Speed up + for string concatenation, now as fast as "".join(x) idiom [Python-Dev] PATCH submitted: Speed up + for string concatenation, now as fast as "".join(x) idiomFredrik Lundh fredrik at pythonware.com
Fri Oct 6 13:55:09 CEST 2006
Ron Adam wrote:

> I think what may be missing is a larger set of higher level string functions 
> that will work with lists of strings directly.  Then lists of strings can be 
> thought of as a mutable string type by its use, and then working with substrings 
> in lists and using ''.join() will not seem as out of place.

as important is the observation that you don't necessarily have to join 
string lists; if the data ends up being sent over a wire or written to 
disk, you might as well skip the join step, and work directly from the list.

(it's no accident that ET has grown "tostringlist" and "fromstringlist" 
functions, for example ;-)

</F>

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