[Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6
Graeme Geldenhuys
mailinglists at geldenhuys.co.uk
Wed Nov 2 23:59:55 CET 2016
On 2016-11-02 22:24, Michael W. Vogel via Lazarus wrote:
> I have made a bug entry and added there a first patch (its not the final
> one, but its late here now)
I didn't look at what exactly the patch does, but on first testing it
reduced the running time from 9000+ milliseconds to 250ms. So that's
definitely a step in the right direction. I also replaced the hard-coded
text being added to the memo with "line <n>" where n is the value of the
loop variable to confirm all lines have been added. They were.
I tested with Lazarus 1.7 r52919 FPC 2.6.4 x86_64-freebsd-gtk 2.
Regards,
Graeme
More information about the Lazarus
mailing list