good idea.
in general loops are super slow in python, [general hints](https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Loops).