Not that I think the output to stdout is much to time, but have you tried your program with v5.0 (beta)?
You are right, I used for this test your new v5.0 beta
Previous version(s) kept creating a new output handle while this version will cache a previously allocated handle... Maybe faster. Otherwise, can you post the actual code and explain how you timed it?
The program writes a table of Arabic and Roman numbers from 1 to 5000 (but I don't think, that the contant of the output is relevant). There is an output with about 10 to 40 chars and 5000 lines). I timed it with an program which starts another program and measure its complete runtime.
I tried it with a normal run, a run where the output was transfered to afile and a run where the output was transfer to nul.
EDIT: mostly a matter of buffering, though. Add the following line before the program starts using stdout, and it will be much faster.
I added your code and got a remarkable reduction of the runtime.
normal run:
Pelles C: ~4,0 sec -> ~1,4 sec (other lcc compiler ~2,8 sec)
run with output toa file:
Pelles C: ~0,9 sec -> ~0,14 sec (other lcc compiler ~0,15 sec)
run with output to 0:
Pelles C: ~0,9 sec -> ~0,03 sec (other lcc compiler ~0,08 sec)
I know that my measuring of the time is not very exact but it show a line.
