> The question here is whether it's worthwhile to optimize for > the case where you have 30+ includes per page. Is it that > common?
In my particular case just 2 or 3 includes puts me over the top actually. stat() is amazingly slow on freebsd and having 3 includes of files in a directory 8 levels below the root is going to do 27 stat()'s. 27 stats on my freebsd box here takes 24ms to execute. That's a long time to be sitting around stat'ing things. And heaven help me if the path is not absolute and I have to try different include paths. And if open_basedir is also enabled you might as well go for a coffee while you wait through some 80+ syscalls for every include. -Rasmus -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php
