Hi Yury,

On 20 February 2014 19:21, Yury V. Zaytsev <y...@shurup.com> wrote:
> FYI: https://github.com/numpy/numpy/pull/4322

Maybe you missed the point I made in the paragraph you quote?  Without
a JIT, "a <op> b <op> c" cannot reasonably be done in a single
iteration over the three arrays.  The pull request you quote improves
the memory and cache pressure by doing some assignments in-place, but
"a + b + c" still works in two passes: in pass one it writes
intermediate data that will be re-read in pass two.


A bientôt,

Armin.
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to