Mattias Gaertner wrote:
> Al Boldi <[EMAIL PROTECTED]> wrote:
> > > > Preallocating the tree in TTreeView could improve its speed a lot.
> > >
> > > I doubt that. It already works with exponential growth.
> >
> > Preallocate in 16sec ============
> >   TreeView1.BeginUpdate;
> >   TreeView1.Items.Clear;
> >   for i:=1 to 100000 do
> >     TreeView1.Items.Add(nil,'');
> >   TreeView1.EndUpdate;
>
> I improved it. Please try.

Do you have a patch against 0.9.15?


Thanks!

--
Al

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to