TreeView speedup
- From: "Andrew E. Makeev" <andrew solvo ru>
- To: gtkmm-main <gtkmm-list gnome org>, GTK-MAIN <gtk-list gnome org>
- Subject: TreeView speedup
- Date: Mon, 24 Mar 2003 13:41:43 +0300
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).
Any other suggestions would be welcome.
Machine:
1.2GHz Duron, 256Mb DDR PC2100, MB MS KT256, HDD 40Gb 5000rpm, Video ATI
Radeon 32Mb.
Regards,
-andrew
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]