Best way to handle large lists?

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

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

> Each item in the list is a fully qualified domain name, e.g.
> 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