
25 Jan
2001
25 Jan
'01
5:24 p.m.
malcolm: Thu Jan 25 18:24:32 CET 2001 Update of /usr/src/master/nhc/src/runtime/Builtin In directory hinken:/tmp/cvs-serv10729 Modified Files: cHPutStr.c Log Message: Add a new primitive implementation of hPutStr that packs Strings before outputting them. We 'chunk' the string as we evaluate it lazily, so as not to use too much space if the string is very long. But we also need to be careful to do this correctly with respect to the buffering mode (char,line,block). Initial performance measurements show a 5-10x speedup for output, depending on the length of the original string and the buffering mode.