[issue23119] Remove unicode specialization from set objects

Marc-Andre Lemburg report at bugs.python.org
Thu Jan 8 15:35:43 CET 2015


Marc-Andre Lemburg added the comment:

I'm not sure I follow:

Sets of strings are very common when trying to create a unique set of strings or optimizing "name in set_of_names" lookups.

Regarding your benchmark numbers: I have a hard time following how they work. A simply "word in set_of_one_word" certainly doesn't make a good benchmark for these sort of tests :-)

You should at least test with sets of various sizes and include the non-matching checks as well.

----------
nosy: +lemburg

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


More information about the Python-bugs-list mailing list