On Thu, Nov 8, 2012 at 2:22 AM, Francesc Alted <[email protected]> wrote:

>>   -- It can remove a lot of uneccessary temporary creation.

> Well, the temporaries are still created, but the thing is that, by
> working with small blocks at a time, these temporaries fit in CPU cache,
> preventing copies into main memory.

hmm -- I thought it was "smart" enough to remove some unnecessary
temporaries altogether. Shows what I know. But apparently it does,
indeed, avoid creating the full-size temporary arrays.

pretty cool stuff, in any case.

-Chris


-- 

Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[email protected]
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to