[Numpy-discussion] Core math library in numpy
Neal Becker
ndbecker2 at gmail.com
Tue Feb 24 09:04:42 EST 2009
Pauli Virtanen <pav <at> iki.fi> writes:
...
> One question: doesn't this add one extra function call to all umath
> functions? Could we do '#define npy_XXX XXX' in the npy_math.h header
> when the appropriate platform-specified functions are available?
There shouldn't be overhead on modern compilers for simple functions. On gcc
use __inline__ should eliminate overhead (also, -O3 should automatically
inline).
More information about the NumPy-Discussion
mailing list