[cvs-nhc98] patch applied (hat): The -ansiC backend had a huge
plateau space-leak. By splitting
Malcolm Wallace
Malcolm.Wallace at cs.york.ac.uk
Tue Oct 10 06:59:33 EDT 2006
Thu Sep 28 10:13:22 PDT 2000 malcolm
* The -ansiC backend had a huge plateau space-leak. By splitting
code-generation into two passes (labels then code), we greatly
reduce the leak, but introduce a shorter spike later. Change the
representation of the code from composed 'shows' to concat'ed strings,
and the spike is halved (but still spiky). Overall, much better space
usage (although it is still not as good as it could be). Time usage
appears to be exactly the same as before (although still not as good
as with the -noansiC backend).
M ./src/compiler98/DbgDumpSRIDTableC.hs -51 +52
M ./src/compiler98/EmitState.hs -76 +116
M ./src/compiler98/GcodeLowC.hs -172 +170
M ./src/compiler98/Main.hs -56 +72
More information about the Cvs-nhc98
mailing list