Has anyone subclassed a numpy.ndarray in Cython? Or is there a way to do something like this to get method calls fast for a derived type? I am thinking of things like speeding up MaskedArray's or simpler subclasses like adding some metadata, but wanting all the other ndarray semantic in place.
It is not obvious to me that this is possible (due to the __new__ overloading needed, or if it would actually make things faster). If, on the other hand this has been done somewhere, I would love to look at the source! As always, thanks for any tips. Gabriel _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
