bearophileh...@lycos.com wrote in news:37632421-5475-4859-be83-07ae2eca1...@r4g2000yqa.googlegro ups.com:
> Try using a dict instead, where keys are the names and > objects the values (it turns a linear search in a quick > hash look up). . Then tell us the performance changes. > It halved the overall execution time. Thanks. -- http://mail.python.org/mailman/listinfo/python-list