comparing two lists, ndiff performance

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Wed Jan 30 08:24:18 EST 2008


Zbigniew Braniecki:
> Is there a way to speed it up? Any easier way? Faster method?

This problem is a bit messy. Maybe it's better to sidestep the
problem, and not use a list, and create an object that wraps the list,
so it always keeps an updated record of what changes are done... but
you have to notify it if you change the objects it contains.

Bye,
bearophile



More information about the Python-list mailing list