why feed a gtkListStore with more than 5000 rows are so slow?

From: Date: Thu, 01 Feb 2007 10:47:17 +0000
Subject: why feed a gtkListStore with more than 5000 rows are so slow?
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7637@lists.php.net to get a copy of this message
Hi all, I'm playing around with php-gtk2 build from the cvs version. To learn the usage of treeview and listsore i've wrote a little app to display some csv files. the problem is that when i try to load relatively big file (around 6000 rows) it take a really long time to load the data in the model and it's praticaly unusable as just scrolling the list will freeze the apps for some time before redraw. Is this a 'normal' behavior or is there any way to optimize performance. - first is there some sort of freeze/thaw as we had with gtkclist in the past? - how to make the app more responsive when scrolling the treeview? I understand that 6000 rows is not a little thing but it's not a really enormous job too and was totally doable in gtkclist so if someone have any clue i would really appreciate that. cheers, nathan -- -- le savoir ne vaut que s'il est partagé par tous --

« previous php.gtk.general (#7637) next »