[Lazarus] Memo.Lines.BeginUpdate

Juha Manninen juha.manninen62 at gmail.com
Fri Mar 8 15:08:16 CET 2013


On Fri, Mar 8, 2013 at 3:43 PM, Vincent Snijders
<vincent.snijders at gmail.com> wrote:
>> Method number 1. is about 40 times faster!
>> I expected method number 2. to be the fastest.
>
> Why? There is lot of comminucation between the LCL and widgetset, even
> if the widgetset doesn't paint any update with method 2.

Well, I would consider this as a bug. A 40 times difference is big!
I have used BeginUpdate / EndUpdate often and they usually help to
obtain a fast GUI. I didn't make exact timings though.
Now, is this a well known issue and the right way is to always assign
data from a temp list?

Juha




More information about the Lazarus mailing list