Thread: PHP Help
View Single Post
Old
  (#7)
What's_nitro?
Soldermaster Extraordinaire
 
What's_nitro?'s Avatar
 
Offline
Posts: 4,529
Join Date: Apr 2007
Location: Plymouth, MA, USA
02.17.2010, 03:08 PM

I agree if all the sorting was done at the very end that would save lots of time as opposed to doing it each time a file is found and added to the list.

Maybe I'm overcomplicating things with multiple instances of code, but if you had one instance per file type, then compiled them into one list at the end, then sorted them however, would that improve performance?
   
Reply With Quote