On May 19, 12:15 am, Robert Bradshaw <rober...@math.washington.edu>
wrote:
> Note that adding a __dict__ also massively slows down any cpdef function 
> calls.

Which could be mitigated if cython would grow a pragma that allows
cpdef calls being generated with "__pyx_skip_dispatch=1" (giving them
the semantics of "cdef method that happens to also have a python
wrapper" instead of "fully overridable python method that can be
called directly from C, where it has some speed benefits".

The parameter is already there. The main problem is thinking of a good
way of providing access to it from cython.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to