Re: Slow treemodel loading

2008-06-17 Thread Jeffrey Barish
The solution was to perform the sort myself. The update is now nearly 20x faster. -- Jeffrey Barish ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Slow treemodel loading

2008-06-11 Thread Gorshkov
Jeffrey Barish wrote: Damien Caliste wrote: Hello, If I'm not wrong, you may be interested with gtk-list-store-insert-with-values() function: http://library.gnome.org/devel/gtk/unstable/GtkListStore.html#gtk-list-store-insert-with-values Thank you for your suggestion. The documentation is

Re: Slow treemodel loading

2008-06-11 Thread Jeffrey Barish
Damien Caliste wrote: > Hello, > > If I'm not wrong, you may be interested with > gtk-list-store-insert-with-values() function: > http://library.gnome.org/devel/gtk/unstable/GtkListStore.html#gtk-list-store-insert-with-values Thank you for your suggestion. The documentation is characteristicall

Re: Slow treemodel loading

2008-06-11 Thread Damien Caliste
Hello, Le 07/06/2008, Jeffrey Barish <[EMAIL PROTECTED]> a écrit : > improves a bit. If I never set the sort column ID, performance > improves even more. If I'm not wrong, you may be interested with gtk-list-store-insert-with-values() function: http://library.gnome.org/devel/gtk/unstable/GtkListS

Slow treemodel loading

2008-06-07 Thread Jeffrey Barish
The first time I load the liststore (during program start), it loads quickly. Then I set sort column ID so that I can sort by column. When I clear the liststore and load the next data set, the treeview updates slowly even when it's actually the same dataset. If I substitute a simple sort functio