Closed duetosymmetry closed 5 years ago
With more testing, it seems that adding type signatures for AOT compilation will disable JIT compilation for those same functions. This is restrictive for leaver_cf_inv_lentz
which has optional arguments, and would thus require a large number of signatures to ensure completeness. More thinking required.
Instead of adding signatures, we now trigger compilation (of a few signatures) by simply calling functions in _ensure_jitted()
at load time (in this commit: https://github.com/duetosymmetry/qnm/commit/d607ecf157fd6223395de8f58bc2b34ad6d88e89#diff-0a30e0294996e44b2bacc826a9e41f94)
These can be found by inspecting
<jitted function>.nopython_signatures
.