[fpc-devel] TList slowness in classes

Peter Vreman peter at freepascal.org
Fri Dec 24 09:34:57 CET 2004


> I'm attaching a simple demo program that shows this. When compiled like
>    fpc -OG -O2 -Op2 demo_resourcestring_slow.pas
> (to get maximum optimizations) sample output of it is
>    Time of Foo_Normal:         16
>    Time of Foo_ResourceString: 106
> So time difference is really noticeable. Question goes to FPC
> developers, maybe such cases with using resourcestrings can be speed up ?

You can compile with -al and run a diff between the generated .s files.







More information about the fpc-devel mailing list