3 ms·
I don't doubt that python is slower than a compiled language, but have you tried to do any profiling on your python code? Sometimes little changes could have a
by cbanek 10y ago
I don't doubt that python is slower than a compiled language, but have you tried to do any profiling on your python code? Sometimes little changes could have a huge impact.
http://stackoverflow.com/questions/582336/how-can-you-profile-a-python-script http://stackoverflow.com/questions/582336/how-can-you-profil...
I used the command line option described in the suggested answer. It was easy. Most profilers are hard, but this worked fine the first time.