Dag Sverre Seljebotn wrote:

> One can always write
> 
> x[...] *= 2
> 
> if one wishes to modify original memory.

Although unless some optimisation is done on this, it
won't be quite as efficient, since it will take a slice,
in-place modify the slice and then assign the slice
back to itself.

-- 
Greg

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to