[cvs-nhc98] * Re-implement IORef directly as a 1-item Vector, to elimi
Malcolm Wallace
malcolm@sparud.net
Mon, 4 Feb 2002 18:46:01 +0100 (CET)
malcolm: Mon Feb 4 18:46:01 CET 2002
Update of /usr/src/master/nhc/src/prelude/IOExtras
In directory hinken:/tmp/cvs-serv8590
Modified Files:
DIORef.hs FreezeIOArray.hs IOExtras.hs NewIOArray.hs
NewIORef.hs ReadIOArray.hs ReadIORef.hs WriteIOArray.hs
WriteIORef.hs
Log Message:
* Re-implement IORef directly as a 1-item Vector, to eliminate the
overhead of the Ix class in a 1-item IOArray. Should be somewhat
faster now.
* Remove '#ifdef 0' dead code from the IOArray operations.