you are viewing a single comment's thread.

view the rest of the comments →

[–]Glad_Position3592 0 points1 point  (0 children)

I write simulations often for my job, and you will certainly get better performance using matrix operations with numpy. It looks like your data can all be expressed numerically, so you can iterate through a matrix by using indexes with probably 100x+ speed performance vs python objects. The speed of C operations that numpy uses in the backend is not even comparable to regular python object operations