Re: GtkTreeView unbearably slow

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

 



On Dec 27, 2009, at 11:17 PM, Vikram Noel Ambrose wrote:
> When you scroll the widget, the text lags behind as if the scroll was elastic. The response between the mouse scroll wheel and the widget can be measured in seconds.

Haven't heard of people with such issues before.

> The sample program simply creates a top level window with a scrolled_window and treeview. It only lists 5000 rows.
> 
> On that note, why does GtkTreeView become slower as the number of rows increases, while there is no such correlation in QTreeView?

It does not, GtkTreeView's internal data structure is an RB-Tree whose complexity does not significantly increase when the number of rows increases.  In fixed-height mode it can easily handle a million of rows.


regards,

-kris.

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux