[Haskell-cafe] In-place modification

Hugh Perkins hughperkins at gmail.com
Sun Jul 15 08:22:41 EDT 2007


On 7/15/07, Sebastian Sylvan <sebastian.sylvan at gmail.com> wrote:
>
> Surely you can remove the read here, and just always do the write?
>
>
Ah you'd think so, but if it's anything like the C# version, strangely that
would be slower.  In his last message Don explains that this is because the
write dirties the cache, which is a Bad Move (tm).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070715/a99506fb/attachment.htm


More information about the Haskell-Cafe mailing list