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
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to