Re: Benchmarking 4.3.2 vs 4.1.2

From: Date: Wed, 11 Jun 2003 04:20:12 +0000
Subject: Re: Benchmarking 4.3.2 vs 4.1.2
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-2280@lists.php.net to get a copy of this message
At 07:15 AM 6/11/2003 +0300, Andi Gutmans wrote:
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

« previous php.internals (#2280) next »