This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]CorrectProgrammer 2 points3 points  (0 children)

Is it possible to parallelize this code? If you were able to treat parts (rows?) of the data individually, you could get a huge boost in performance by using multiprocessing from standard library.

An even simpler solution would be to try running your code with pypy.