Hi Robert,

On 24 Sep., 23:09, Simon King <simon.k...@uni-jena.de> wrote:
> Or would it already be faster to keep Finder (which is cdef'd) as it
> is, and call Finder.which_root as a method?

I tried, and the total computation time *doubles* if I replace a call
to f1(...) by Finder.which_root(...), even though Finder is cpdef'd
and should access its cpdef method which_root very quickly.

So, how can one declare f1 as a cpdef function?

Best regards,
Simon

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to