[Numpy-discussion] slow numpy.clip ?
Robert Kern
robert.kern at gmail.com
Tue Dec 19 03:49:05 CST 2006
David Cournapeau wrote:
> I would be happy to code the function; for new code to be added to
> numpy, is there another branch than the current one ? What is the
> approach for a 1.1.x version of numpy ?
I don't think we've decided on one, yet.
> For now, putting the function with a copy (the current behaviour ?)
> would be ok, right ? The copy part is a much smaller problem than the
> rest of the function anyway, at least from my modest benchmarking,
I'd prefer that you simply modify PyArray_Clip to use a better approach than to
make an entirely new function. In that case, it certainly must make a copy.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Numpy-discussion
mailing list