> > Maybe the application should use sets instead of lists for these
> > collections.
> What would sets do for me over lists?

searching for an element in a list is O(n)
searching for an element in a set is O(1)   (for reasonable distributed
elements)

Harald

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

Reply via email to