At 09:51 PM 6/10/2003 -0400, Ilia A. wrote:There are a several things that could be done to speed file opening process up. Attached is a fairly simple patch that in most cases optimizes potentially expensive code that looks for ../ and ./ in the path.
This sounds like a weird patch to me. How many people have ./ and ../ in their path? Or are there a lot due to "." being in include_path? If so, it might not be that weird after all :)
Just to be clear, IMO it should still be fixed with the realpath cache I mentioned and not by going over the string :)
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php