Josh Rosenberg added the comment:

Does it slow down other cases? Seems to me like dictionaries would have more 
"existing key lookups" than sets to justify the optimization, since they're 
used for attribute lookup and the like, and because you usually want the value 
associated with existing keys, where a set would usually be used in a "might 
exist, might not" scenario of membership testing.

----------
nosy: +josh.r

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23282>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to