Scanning directory tree - too slow
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Scanning directory tree - too slow

From: bboldi <bboldi@gmail.com>
Date: Wed Oct 05 2005 - 11:26:57 CEST

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.
Received on Tue Oct 18 02:32:07 2005