Re: gtktreeview sooo slow
- From: "David M. Cook" <dave davidcook org>
- To: gtk-app-devel-list gnome org
- Subject: Re: gtktreeview sooo slow
- Date: Tue, 21 Jan 2003 05:44:21 -0800
On Tue, Jan 21, 2003 at 09:47:40AM +0200, Mohammed Sameer wrote:
The tree view is soo slow when adding large ammount of data, Is there a
way to improve the speed ?? attached the code, Can anyone have a look and
point me plz ?
I don't know about know about MySQL, but with PostgreSQL I can get a speed
improvement of a factor of 2 by choosing the right number of rows when
fetching the data rather than fetching the result of a select all all at
once. Actually, I suspect this may have something to do with the Linux
BUFSIZ rather than Gtk or Postgres.
Also, using autosize for your TreeViewColumns can slow things down.
Dave Cook
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]