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/2007-February/071141.html below:

[Python-Dev] Interning string subtype instances

[Python-Dev] Interning string subtype instances [Python-Dev] Interning string subtype instancesGreg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 15 02:39:04 CET 2007
Larry Hastings wrote:

> If I understand your question correctly, you're saying "why doesn't 
> string comparison take advantage of interned strings?"

No, I understand that it takes advantage of it when the
strings are equal. I was wondering about the case where
they're not equal. But as has been pointed out, unless
you're very unlucky, you find out pretty fast when they're
not equal.

So I'm happy now.

--
Greg
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