Hi,
FYI: Cython instantiates fused type routines with memoryview arguments
unnecessarily many times.
Example:
```
ctypedef fused idx_t:
short
long
# Cython 0.20.1 instantiates this function 128 times,
# even though only 2 would be needed
def fubar_128(idx_t[:] a,
idx_t[:] b
Pauli Virtanen, 08.03.2014 21:11:
> FYI: Cython instantiates fused type routines with memoryview arguments
> unnecessarily many times.
>
> Example:
> ```
> ctypedef fused idx_t:
> short
> long
>
> # Cython 0.20.1 instantiates this function 128 times,
> # even though only 2 would be needed
08.03.2014 22:40, Stefan Behnel kirjoitti:
[clip]
> Yes, this is a known problem. The work-around is to ctypedef the
> memory view type, not just the dtype.
>
> http://thread.gmane.org/gmane.comp.python.cython.user/10437
Thanks, I missed that.
Re: arguments in the previous thread --- I think it