Klaus Neuner wrote:
Hello,

what is the fastest way to determine whether list l (with
len(l)>30000) contains a certain element?

If you can use a set or dict instead of a list this test will be much faster.

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

Reply via email to