On Fri, Mar 8, 2013 at 3:43 PM, Vincent Snijders <[email protected]> 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 -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
