[issue19187] Use a set for interned strings

Antoine Pitrou report at bugs.python.org
Mon Oct 7 21:32:44 CEST 2013


Antoine Pitrou added the comment:

> Dict has a special case for string keys. Is set have such optimization?

Yes (see set_lookkey_unicode).

----------

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


More information about the Python-bugs-list mailing list