Re: include bug in 5.3
| From: | Rasmus Lerdorf | Date: | Fri, 08 Aug 2008 21:45:37 +0000 |
| Subject: | Re: include bug in 5.3 | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-39776@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
Dmitry Stogov wrote:Oh, and on top of that we also get a big performance improvement for include_path misses since we no longer have to re-stat every component of the docroot on every miss. -RasmusHi, The attached patch is going to fix the problem. It implements its own realpath() function, so we won't depend on system anymore. It also improve realpath cache usage by caching intermediate results.Very nice. The intermediate caching is going to drastically reduce the amount of memory we need for the cache. I have seen a number of cases where sites had to increase the realpath cache size by quite a bit.