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/2004-February/042805.html below:

Optional separatorargument for file.writelines()and StringIO.writelines()

[Python-Dev] Re: Optional separatorargument for file.writelines()and StringIO.writelines() [Python-Dev] Re: Optional separatorargument for file.writelines()and StringIO.writelines()Raymond Hettinger python at rcn.com
Thu Feb 26 22:03:26 EST 2004
> > I had been led astray because I was experimenting with using
> > cStringIO.writelines() as a basis for implementing str.join() for
> > general iterables without creating an intermediate tuple.  Right
now,
> > ''.join(it) will unexpectedly consume much more memory than really
> > needed.

[Jeremy Fincher]
> This sounds like a cool idea, are you still going to implement it?


One way or another, I'll make str.join() smarter and faster than it is
now.  Which way proves to be better is still open.


Raymond


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