On Aug 29, 12:12 pm, John Nagle <na...@animats.com> wrote:
>     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.

There is no significant difference.
All three are implemented using substantially the same code.


Raymond

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to