[Cython] Too many instantiations with fused type memoryviews

Pauli Virtanen pav at iki.fi
Sat Mar 22 19:37:52 CET 2014


22.03.2014 14:48, Pauli Virtanen kirjoitti:
[clip]
> I can take a look at this today...

Here's one attempt:

    https://github.com/cython/cython/pull/284

In the long run, I'd like to be able to write code like this:

https://github.com/pv/scipy-work/blob/csparsetools-nocrud/scipy/sparse/_csparsetools.pyx

with fused types and have it just work. The above change gets it
mostly towards the goal, apart from issues with Numpy scalars and
numpy boolean arrays. I'll probably look at this later on...

-- 
Pauli Virtanen



More information about the cython-devel mailing list