[Python-Dev] The -U flag

Martin 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