|
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.
|