By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,296 Members | 1,446 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,296 IT Pros & Developers. It's quick & easy.

Scanning directory tree - too slow

P: n/a
I wrote a recursive algorythm to scan a comlete directory structure
(2-3 levels deep) with few hundred pictures in it (i just need to store
filenames in a cache file). it's taking forewer :(. i used readdir
function. Any idea to a faster solution?

ps.: sorry for my English.

Oct 5 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
bboldi wrote:
I wrote a recursive algorythm to scan a comlete directory structure
(2-3 levels deep) with few hundred pictures in it (i just need to store
filenames in a cache file). it's taking forewer :(. i used readdir
function. Any idea to a faster solution?
Hi,

Is it really that slow?
I used that approach a few times and it was very fast...

Can you show us some code?


ps.: sorry for my English.


No problem, it is no worse than mine. ;-)

Regards,
Erwin Moller
Oct 5 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.