[gtkmm] 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







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