
15 Jul
2007
15 Jul
'07
8:25 a.m.
On 15/07/07, Hugh Perkins
On 7/15/07, Sebastian Sylvan
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).
Ah, it was faster in GHCi, and I couldn't test it compiled because my GHC install is a bit messed up at the moment... -- Sebastian Sylvan +44(0)7857-300802 UIN: 44640862