pombreda / pydot

Automatically exported from code.google.com/p/pydot
MIT License
0 stars 0 forks source link

performance can be improved with iterX() instead of X() #34

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
...where X is (keys|values|items).

It depends on the usage, but if the iteration does not involve modifying
the underlying collection, then you should use iterX() instead, as X() will
create a copy of the collection.

Original issue reported on code.google.com by infinity0x@gmail.com on 21 Mar 2010 at 12:38

GoogleCodeExporter commented 9 years ago

Original comment by ero.carr...@gmail.com on 30 Oct 2010 at 5:28