[fpc-devel] [patch] - fpcUnit testreport.pp

Dean Zobec dezobec at tin.it
Thu Oct 26 15:28:08 CEST 2006


Graeme Geldenhuys ha scritto:
> Hi
> 
> Thanks for that, I didn't know about that function.  Attached is the
> patch using the new StringOfChar.
> 
> Incidently the speed increase is not much, but yes it is faster.
> Maybe my test cases are just not big enough.   ;-)
> I did 4 test runs with the old trSpace function and did 4 test runs
> with the new trSpace function outputing 80 lines of text each with
> varied levels of indentation.
> The huge speed increase was:    0.00145 seconds
> 
> Thanks, that really cut down on my coffee break.  :-)
There's another benefit, 7 lines of code less.
Btw, thank you for your constant work.
Dean



More information about the fpc-devel mailing list