On Fri, Mar 09, 2007 at 04:02:04PM -0000, Claus Reinke wrote:
> but if one does whole-array updates, there isn't much to be gained by
> avoiding intermediate copies, is there? whether you fill a new memory
> area, or overwrite an old one, you still have to loop through the whole
> thing, writing and reading.

I would gain a 20% reduction in memory use, which could come out to a few
gigabytes for large problems.  That's worth some degree of effort.
Actually, it'd be a bit less than 20%, but for large problems it would
approach 20%.
-- 
David Roundy
Department of Physics
Oregon State University
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to