[gtkmm] RE: TreeView speedup



Can't you just freeze and unfreeze the TreeView somehow when adding lots of
rows?

Murray Cumming
murrayc usa net
www.murrayc.com 

> -----Original Message-----
> From: Olaf Fraczyk [mailto:olaf cbk poznan pl] 
> Sent: Freitag, 28. März 2003 10:49
> To: Andrew E. Makeev
> Cc: gtkmm-main; GTK-MAIN
> Subject: Re: TreeView speedup
> 
> 
> On Mon, 2003-03-24 at 11:41, Andrew E. Makeev wrote:
> > Good day,
> > 
> > I would to ask if someone got TreeView widget filling in 
> speed really 
> > improved?
> > 
> > On our side we made 2 improvements:
> > 
> > 1. Added function in GTK that fills TreeModel row with 
> values stored in 
> > GList.
> >     Test case: 10000 rows with 4 string, 4 int, 4 double, 4 
> bool columns.
> >     Model was filled with values in 3-4 x times faster. (1 
> sec against 4 
> > sec).
> > 
> > 2. Wrote our own simple TextRenderer with "cached" 
> Pango::Layout where 
> > only text could be changed.
> >     Test case: 10000 rows with 4 string, 4 int, 4 double, 4 
> bool columns.
> >     TreeView was filled with values in 3-4 x times faster. (8-9 sec 
> > against 30 sec).
> >
> Hi,
>  
> Could you post code for these improvements?
> I just use CList, because of TreeView being so slow.
> But I would like to use TreeView, and it would be easier for 
> me to write
> TextRenderer if I see something similar.
> 
> Regards,
> 
> Olaf Fraczyk
> 
> 
> 
> 
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]