Performance: sets vs dicts.

John Nagle nagle at
Sun Aug 29 21:12:52 CEST 2010

    Is the "in" test faster for a dict or a set?
Is "frozenset" faster than "set"?  Use case is
for things like applying "in" on a list of 500 or so words
while checking a large body of text.

				John Nagle

More information about the Python-list mailing list