A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-February/042808.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
Fri Feb 27 04:12:48 EST 2004
[Bob Ippolito]
> Currently, it seems that ''.join is faster than cStringIO.writelines
> anyway, even if you just pass it a big list.

I suspect something wrong with your timing suite.  Under the hood,
cStringIO.writelines() actually is ''.join().  It appears that the 
whole comparison is circular.



Raymond Hettinger


#################################################################
#################################################################
#################################################################
#####
#####
#####
#################################################################
#################################################################
#################################################################

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