[Haskell-cafe] Performance of concurrent array access

Brandon Allbery 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...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20110823/9003fa61/attachment.htm>

More information about the Haskell-Cafe mailing list