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/2002-October/029571.html below:

[Python-Dev] The -U flag

[Python-Dev] The -U flag [Python-Dev] The -U flagMartin v. Loewis martin@v.loewis.de
14 Oct 2002 22:04:26 +0200
"M.-A. Lemburg" <mal@lemburg.com> writes:

> Wouldn't the following be faster ?
> 
> l = map(chr, range(256))
> _idmap = str('').join(l)
> del l

It is, by a factor of roughly 3 (on my system). Committed as posted.

Regards,
Martin



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