[Haskell-cafe] Performance of concurrent array access
allbery.b at gmail.com
Tue Aug 23 22:32:12 CEST 2011
On Tue, Aug 23, 2011 at 16:04, Andreas Voellmy <andreas.voellmy at gmail.com>wrote:
> I found that changing the array type used in the implementation of
> DirectAddressTable from IOArray to IOUArray fixes this problem.
Since the main observable effect of this change is strictness, I'd
immediately suspect you're storing unevaluated thunks in the array which get
forced when printed instead of in their appropriate threads.
brandon s allbery allbery.b at gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe