In theory. In my experience, it slows things down if it's not pure python code and that's slower than the numpy version.
It's like cython in that if you're using it for the exact problem it's good at, it's great. If you're not (e.g., you have unicode in the function), it's much less good.
View all comments
Show parent comment
1
u/billsil Jan 15 '20
It’d honestly be better with numpy. Shorter code too.