> would emit a direct call to the ..._small_method(self, x) C function in
> big_method(), instead of passing through self->__pyx_vtab->small_method.

Or just declare self->__pyx_vtab->small_method a const pointer, so the C
compiler knows it does not change.

SM



_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to