[cvs-nhc98] Hat: achieve a 30-40% speed-up in running traced programs.

Malcolm Wallace malcolm@sparud.net
Sun, 25 Mar 2001 20:34:56 +0200 (CEST)


malcolm: Sun Mar 25 20:34:56 CEST 2001

Update of /usr/src/master/nhc/src/tracer/runtime
In directory hinken:/tmp/cvs-serv591/src/tracer/runtime

Modified Files:
	fileformat.c fileformat.h getconstr.c getconstr.h io.c 
	numeric.c vector.c 
Log Message:
Hat: achieve a 30-40% speed-up in running traced programs.
  This improvement is mainly due to moving work from Haskell to C.
  We were already storing certain triples of trace information
  (file ptr, trustedness, hiddenness) as a C struct, but continuing
  to use trivial access/construction functions in Haskell.  Here, we
  remove all uses of the triples to C, and use only higher-level calls
  in Haskell.
  As a biproduct, the change of type from data Trace to newtype Trace
  must be rippled through all of the standard .T.hi files.