[Cython] Bindings performance issue
vitja.makarov at gmail.com
Sat Jun 4 13:17:14 CEST 2011
2011/6/4 mark florisson <markflorisson88 at gmail.com>:
> On 4 June 2011 12:24, Vitja Makarov <vitja.makarov at gmail.com> wrote:
>> I've tried that: https://github.com/vitek/cython/compare/master..._bindings
>> Results are not bad: 168 failing tests for pyregr2.7 and 463 for py3
> Nice, it partly duplicates work in my fusedtypes branch but I suppose
> it will have to be reworked anyway into a subclass.
Sure. I've taken some code from your branch ;)
> So this works only
> for normal classes right, i.e. not for extension classes? It's also
> pickle-able, cool :)
Yes. It works for python classes and python def functions.
__reduce__ only returns function name, so it's possible to
pickle/unpickle it in some cases
but that was enough to fix some broken tests from pyregr.
More information about the cython-devel