On 29 January 2011 18:22, Neil Brown 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