[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell-cafe
Subject: Re: [Haskell-cafe] 3GB allocation,
From: Bas van Dijk <v.dijk.bas () gmail ! com>
Date: 2011-01-29 18:09:02
Message-ID: AANLkTimmW5-NggY19cHO0ORGbnvSwH7c_xPoT6=HL8xf () mail ! gmail ! com
[Download RAW message or body]
On 29 January 2011 18:22, Neil Brown <nccb2@kent.ac.uk> wrote:
> ...you were also using an extra readIORef as part of the modifyIORef that you didn't need...
Indeed and writing the t+1 strictly to the ioref also makes it
slightly faster (~2%):
writeIORef ioref $! t+1
Bas
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic