[Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6

Bernd Mueller mueller.b at gmx.net
Wed Nov 2 17:47:20 CET 2016


On 11/02/2016 04:56 PM, Werner Pamler via Lazarus wrote:
> I tested on Win 10 (using the code of the first post in this thread):
>
> - 23 sec on Laz trunk / fpc 3.0
> - 23 sec on Laz 1.6 / fpc 3.0
> - 23 sec Laz trunk / fpc 2.6.4
> - 2.2 sec on Laz 1.44 / fpc 2.6.4
> - 1.4 sec on Delphi Berlin 10.1
>
> Using Lazarus trunk I could get a good boost by adding the strings first
> to a separate stringlist which is then assigned to the memo's Lines: 1.1
> sec:

original code:
990 ms with Lazarus 0.9.24 (fpc 2.2.0) on Win98/AMD Duron 1,2 GHz ;-)

Regards, Bernd.



More information about the Lazarus mailing list