On 29 January 2011 18:22, Neil Brown <[email protected]> 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
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to