Re: 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

Re: Scanning directory tree - too slow

From: Erwin Moller <since_humans_read_this_I_am_spammed_too_much@spamyourself.com>
Date: Wed Oct 05 2005 - 11:57:46 CEST

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