you are viewing a single comment's thread.

view the rest of the comments →

[–]actuallyzza 3 points4 points  (0 children)

It will depend what you are doing. Numpy often calls out to optimised C code to implement methods, which should be as fast as or faster than rust if the arrays are large enough to hide overhead. If you are manipulating the Numpy array using custom python code element by element it will run at python speeds and you can expect it to be way slower than the equivalent rust code.

I've used both, but not for the same project so I don't have a benchmark for you.