On Thu, Apr 15, 2004 at 01:52:38PM +1000, Bernard James POPE wrote:
> 
> However, if you have any suggestions about how to make a FAST global counter
> I would be very glad to hear it. From profiling it seems like this code
> is a little expensive (also it is called quite frequently).

Well, I'm not Simon, but I would suggest to change the line with
writeIORef to:

                       writeIORef count $! newCount

Best regards,
Tom

-- 
.signature: Too many levels of symbolic links
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to