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/2003-November/040091.html below:

[Python-Dev] other "magic strings" issues

[Python-Dev] other "magic strings" issues [Python-Dev] other "magic strings" issuesAlex Martelli aleaxit at yahoo.com
Fri Nov 7 15:58:36 EST 2003
On Friday 07 November 2003 20:47, Skip Montanaro wrote:
   ...
> The only clear loser is the 'char in set' case, no doubt due to its
> current Python implementation, however testing a character for membership
> in a short string seems to be faster than using the .is*() methods to me.

Very interesting!  To me, this suggests fixing this performance bug -- there
is no reason that I can see why the .is* methiods should be _slower_.  Would
a performance bugfix (no implementation change, just a speedup) be OK for
2.3.3, I hope?  That would motivate me to work on it soonest...


Alex


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