[SciPy-Dev] numba simple example
Juan Luis Cano Rodríguez
juanlu001 at gmail.com
Thu Jul 4 03:07:22 EDT 2019
On 7/3/19 10:19 PM, Dieter Werthmüller wrote:
> I think it was Ralf who said that it would be nice if one could
> achieve with a simple decorator a speed-up with numba - if it is
> installed, and otherwise just keep the status quo.
This is what we do in poliastro for example:
https://github.com/poliastro/poliastro/blob/v0.12.0/src/poliastro/core/_jit.py
Also works on PyPy, which in theory should not need numba:
install_requires =
...
numba>=0.39 ; implementation_name=='cpython'
Regards,
Juan Luis
More information about the SciPy-Dev
mailing list