View Single Post
Old 10-17-2007, 01:53 PM   #2 (permalink)
Belisarius
Java fanboy
 
Belisarius's Avatar
 
Join Date: Aug 2003
Posts: 1,166
Belisarius is on a distinguished road
Damn - I'm doing something on the order of 90% of the slow things he mentions. I didn't think "require_once" would be expensive - shouldn't it just be like a hash-table lookup or something?

They did leave out the big one that I came across - is_dir() is a *really* expensive call. I still use it all over the place, but I try really hard to not use it in large loops.
__________________
GitS
Belisarius is offline   Reply With Quote