Performance: sets vs dicts.

John Nagle nagle at animats.com
Sun Aug 29 15:12:52 EDT 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