[Tutor] fast list traversal

Dinesh B Vadhia dineshbvadhia at hotmail.com
Thu Oct 30 19:36:10 CET 2008


I need to process a large number (> 20,000) of long and variable length lists (> 5,000 elements) ie.

for element in long_list:
    <do something with element>        # the result of this operation is not a list

The performance is reasonable but I wonder if there are faster Python methods?

Dinesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081030/d1eb4541/attachment-0001.htm>


More information about the Tutor mailing list