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.

cheers,

David
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to