I\'m a PhD student and use Python to write the code I use for my research. My workflow often consists of making a small change to the code, running the program, seeing whether
Try refining the algorithms or changing the data structures used. That's usually the best way to get an increase in performance.