[pygtk] gtkTreeView slows down application exit
Alessandro Dentella
sandro at e-den.it
Sat Nov 13 00:51:43 WST 2010
On Fri, Nov 12, 2010 at 07:17:41AM -0700, John Haiducek wrote:
> > I display foreign key picking data from the related table so that loading
> > data is somehow slowed down (2-10 seconds for 10.000 records depending on
> > foreign keys). Destroying this table is done almost immediately, you don't
> > perceive any significant delay.
> >
> > I'm testing it on Ubuntu 10.04 running on a notebook 1.8 GHz centrino.
>
> Do you know what TreeModel Sqlkit uses? Is it a gtk.ListStore, or
> something custom? Perhaps the delay for me is in destroying the
> ListStore rather than the table.
Sqlkit can use eather modelstores, I tested it with ListStore. By the way my
notebook is a simple old single core...
It shouldn't be very difficult to setup a test in which you just create a
TreeView + ListStore w/o anything else.
sandro
*:-)
--
Sandro Dentella *:-)
http://www.reteisi.org Soluzioni libere per le scuole
http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy
More information about the pygtk
mailing list