![](https://secure.gravatar.com/avatar/e329c69592ab2a0f893458bd058895f9.jpg?s=120&d=mm&r=g)
July 4, 2019
7:07 a.m.
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.... Also works on PyPy, which in theory should not need numba: install_requires = ... numba>=0.39 ; implementation_name=='cpython' Regards, Juan Luis