Best way to handle large lists?

Richard Brodie R.Brodie at rl.ac.uk
Tue Oct 3 17:07:12 CEST 2006


"Chaz Ginger" <cginboston at hotmail.com> wrote in message 
news:45227BA1.6080107 at hotmail.com...

> Each item in the list is a fully qualified domain name, e.g.
> foo.bar.com. The order in the list has no importance.

So you don't actually need to use lists at all, then.
You can just use sets and write:

newSet = bigSet - littleSet





More information about the Python-list mailing list