3 ms·
I've attempted to run it (not with this latest release yet though) and it appeared as if calling a numpy function essentially disabled the JIT for that function
by Gladdyu 8y ago
I've attempted to run it (not with this latest release yet though) and it appeared as if calling a numpy function essentially disabled the JIT for that function, which was not acceptable for us at that point. What did seem to help curiously was wrapping the numpy function in a python function and then calling that, which seemed to prevent the JIT being disabled in the calling function.
- qeternity 8y agoCurious why? We use numpy is easily optimizable areas so there's very little python code, and JITing a call to a C library is pointless.