3 ms·
> What about Numba? I'll copy-paste my Reddit comment: Like pypy, numba was also on my radar, but I couldn't make it work by just slapping `@jit` decorator to
by narimiran 8y ago
> What about Numba?
I'll copy-paste my Reddit comment:
Like pypy, numba was also on my radar, but I couldn't make it work by just slapping `@jit` decorator to the original code, and I didn't want to go into figuring out what's wrong nor making modifications to the original code.
>> I suspect it should be on par with Nim.
Somebody else [0] has run a comparison including Numba, where Numba is 1.5x faster than NumPy.
This means, if we can compare tests on the different machines, that Nim should be about 2x faster than Numba.
[0] https://github.com/henryiii/framework_compare/tree/master/lin_regression https://github.com/henryiii/framework_compare/tree/master/li...
----
> What about Cython?
I haven't tried it. It would be interesting to see the results.