[MLton-devel] Basis-2002 benchmarks

Matthew Fluet fluet@CS.Cornell.EDU
Sat, 19 Oct 2002 10:02:49 -0400 (EDT)


> > That is the idea.  There are various things I haven't done, like look for
> > opportunities to replace +,- with +?,-?.
> 
> What I found to be more important in speeding up TextIO was avoiding
> any extraneous (per character) allocation and minimizing the number of
> tests in the common case.

Yeah, allocation is a huge slowdown.  I was looking at gc-summary on
wc-* for .cvs.basis-1997 and .cvs.basis-2002, and the basis-2002
executables were allocating upwards of 50X the bytes of the basis-1997.



-------------------------------------------------------
This sf.net email is sponsored by:
Access Your PC Securely with GoToMyPC. Try Free Now
https://www.gotomypc.com/s/OSND/DD
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel