Slow comparison between two lists

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Thu Oct 23 08:27:34 EDT 2008


Hrvoje Niksic:
> internal = set(list_internal)
...

To do that the original poster may have to define a __hash__ and
__eq__ methods in his/her class.

Bye,
bearophile



More information about the Python-list mailing list