[Lazarus] Memo.Lines.Add seems to be slow with Lazarus 1.6
Luca Olivetti
luca at wetron.es
Wed Nov 2 14:36:32 CET 2016
El 02/11/16 a les 13:27, Bernd Mueller via Lazarus ha escrit:
> Hello,
>
> with Lazarus 1.6 (FPC 3.0.0 i386-linux-gtk 2) filling a Memo with 10000
> lines takes about 18 seconds on my system. Doing the same with Lazarus
> 1.4.0 (FPC 2.6.4 i386-linux-gtk 2) takes about 193 ms. I cannot believe,
> that Lazarus 1.6 should be nearly 90 times slower than 1.4.0.
Try using a TSynEdit instead of a TMemo. I did not try with lazarus 1.6,
but with 1.4.4 it is 9ms vs 143 ms for a tmemo.
On windows tmemo is even slower, while TSynEdit isn't.
Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010) Fax +34 93 5883007
More information about the Lazarus
mailing list