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.