3 ms·
I was under the impression that Numpy also just calls BLAS underneath? Hence why doing element-wise calls in Numpy is far, far faster than simply doing nested f
by joshvm 11y ago
I was under the impression that Numpy also just calls BLAS underneath? Hence why doing element-wise calls in Numpy is far, far faster than simply doing nested for loops.
But I think this is the great strength of Python. It's a glue language. If you need speed, you can always write a wrapper around a C/C++ library.
- dietrichepp 11y agoFunny you should say C/C++, because BLAS is Fortran.
- howeman 11y agoActually, it's mostly assembly (depending on the particular implementation). Lapack is Fortran though.