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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com