> (Prior to this part the code has recursively scanned a directory and created > an array with all the path / file names).
How big is the array, is something breaking out of the processor cache at this point? (something like 3 or 6 MB depending on which flavour of Core Duo you've got, I seem to remember). That would give you the sort of "shelf" slowdown you seemed to be describing where it suddenly slows down a lot after a certain point. Julian. --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
