Re: music catalog overhaul (long)

Robert Hart <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Organization University of Nottingham
Message-ID <1061924846.1031.25.camel@euclid>
> How are you adding tracks to the list store? are you responding to each 
> PlaylistAddItem event by rereading the entire playlist, or you just adding 
> the new tracks to the list? In my rewrite i've just added the new tracks 
> instead of rereading the entire playlist and it is a lot quicker. I just 
> did a very unreleabile test on mine and it adds just under 2000 tracks in 
> about 3 sec. I don't have 6000 tracks with which to try it but i can't see 
> it being more then 10-15 seconds., which is admiteddly still slow, but a 
> hell of a lot quicker then your getting.

Well, I was just trying to drop in the TreeView widget as a replacement
for the clist widget, so I do whatever the old code did. Which I think
is to just add the new items. I will have a look at your code and see
what you do. 

To be honest, I decide the rewrite would be more time than I can really
commit, so it is on a back burner, whilst I pick off some more low
hanging fruit.

Rob

-- 
+-------------------------------------+
| "It's only a trap if you don't take |
| a ladder with you to get out of it" |
| 		-S Ring, Bath Uni     |
|                                     |
| [email protected]                   |
| http://www.nott.ac.uk/~enxrah       |
+-------------------------------------+





-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.