[Cython] __next__ | not being able to use cpdef
Greg Ewing
greg.ewing at canterbury.ac.nz
Thu Dec 11 00:24:06 CET 2008
Jelle Feringa wrote:
> I did not understood why its necessary to wrap the do_curvature call
> in Cython though: the call is close enough to C++ execution speed.
If you're finding it fast enough for your purposes,
then that's fine. It's just that it would be faster
still if you got rid of the overhead of the Python
function call mechanism and called the underlying
C or C++ function directly.
--
Greg
More information about the Cython-dev
mailing list