[issue23712] Experiment: Assume that exact unicode hashes are perfect discriminators

Antoine Pitrou report at bugs.python.org
Wed Mar 25 10:46:08 CET 2015


Antoine Pitrou added the comment:

Given interned strings can already be compared by pointer, I'd recommend people call sys.intern() on their strings if they want really fast equality comparisons.

----------
nosy: +pitrou, tim.peters

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23712>
_______________________________________


More information about the Python-bugs-list mailing list