[Numpy-discussion] NumPy re-factoring project
Thu Jun 10 21:17:20 CDT 2010
On 06/11/2010 10:02 AM, Charles R Harris wrote:
> But for an initial refactoring it probably falls in the category of
> premature optimization. Another thing to avoid on the first go around is
> micro-optimization, as it tends to complicate the code and often doesn't
> do much for performance.
I agree it may be difficult to add this in the initial refactorization,
but I don't think it falls into the micro optimization category.
The whole idea of converting strided buffers into temporary contiguous
areas is already in ufunc, though. Maybe a core API to do just that
would be useful. I am not familiar with the ufunc API at all, so I am
not sure how it would go.
More information about the NumPy-Discussion