On Wed, Dec 2, 2009 at 5:44 PM, Charles R Harris <[email protected]> wrote: > > > On Wed, Dec 2, 2009 at 6:32 PM, Anne Archibald <[email protected]> > wrote: >> >> 2009/12/2 David Warde-Farley <[email protected]>: >> > On 2-Dec-09, at 8:09 PM, Neal Becker wrote: >> > >> >> Not bad, although I wonder whether a partial sort could be faster. >> > >> > Probably (if the array is large) but depending on n, not if it's in >> > Python. Ideal problem for Cython, though. >> >> How is Cython support for generic types these days? One wouldn't want >> to have to write separate versions for each dtype... >> > > It could be made part of the _sortmodule without much trouble, but if you > are looking at the lower 30% I doubt it would do much more that buy you a > factor of 2x. Would that matter?
That sounds fantastic! _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
