News for hackers. Stuff that matters.
Re:Making Python 100x faster with less than 100 lines of Rust by korijn on Thursday March 30, 2023 @01:47PM (#35376520)
The gist of it is that you give numpy two arrays, and what operation to apply. Then numpy will figure out what the for loop(s) should look like depending on the shape of the arrays.

You can look at various tutorials to see how it works. For example: https://jakevdp.github.io/PythonDataScienceHandbook/02.05-co...

There are no comments on this comment yet.