GTK+ Forums

Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
It is currently Mon May 20, 2013 12:32 pm

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Load/Save treeview faster?
PostPosted: Sat Aug 20, 2011 8:25 pm 
Offline
Familiar Face

Joined: Fri Jul 01, 2011 6:40 pm
Posts: 48
Location: Croatia
Hello,
I noted that this kind of questions are not beloved here but could be useful.

I have 50000 of rows to load in gtktreeview at program startup and then sort them what takes about 5 sec on my machine in linux and more than 10 sec on windows 7, what is long time for that, even in thread. So i look to problem and conclude that most of time gtktreeview has a job with himself alone.

Of course this is not slow but repeating this procedure every time when program starts gives feeling of slowness to user.

Is here any way to load save data without looping, appending, storing procedure for every row?
Some kind of data image of my liststore which can be connected from file or memory directly?
Such functionality can be useful also in undo/redo actions with treeview.

Thanks, nime.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group