comparing two lists, ndiff performance

bearophileHUGS at bearophileHUGS at
Wed Jan 30 14:24:18 CET 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.


More information about the Python-list mailing list