View Single Post
Old 08-22-2006, 03:44 PM   #43
tcghost
Newbie
 
tcghost's Avatar
 
Join Date: Mar 2006
Location: FL
Vehicle: Scion tC 05
Posts: 32
My Photos: ()
Quote: Originally Posted by enitalp View Post
There must be a bug somewhere.

0.000 Start cache subdir mp3 <=== this is the findfirst findnext, very simple thing
21.500 End cache subdir mp3

24.360 Start sort mp3 <=== this is the quicksort to sort by alphabetical order & by kind the file i found previously
24.360 End sort mp3

The quicksort takes no time to parse the thousand of file. and it's the heaviest code.

well, I just changed MUSIC_DIR to a directory with only a couple of albums and it started up in 5 seconds. All of this is on a network drive, which I'm sure doesn't help as well...

I still don't think it's a good idea to parse the whole music/videos folders every time at startup
tcghost is offline   Reply With Quote