Execution speed question

Jeff jeffober at gmail.com
Fri Jul 25 13:54:40 CEST 2008


> I'd recommend using 'filter' and list comprehensions.

Look at using reduce().  You can collect information about all of the
nodes without necessarily building a large, intermediate list in the
process.

You might get some ideas from here [http://en.wikipedia.org/wiki/
Antiobjects].




More information about the Python-list mailing list