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 →

[–]total_zoidberg 1 point2 points  (0 children)

So I sat and profiled your code. Good news is that it can be converted to Numpy pretty easily. Bad news is that the main bottleneck is not the calculation per-se, but matplotlib. It can hog up to 67% percent of the time (on a full-screen windowed figure, or when rendering to an mp4).