Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39776 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93660 invoked from network); 8 Aug 2008 21:45:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Aug 2008 21:45:46 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:60474] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5E/69-46174-98EBC984 for ; Fri, 08 Aug 2008 17:45:45 -0400 Received: from trainburn-lm.corp.yahoo.com (trainburn-lm.corp.yahoo.com [207.126.233.11]) (authenticated bits=0) by mail.lerdorf.com (8.14.3/8.14.3/Debian-5) with ESMTP id m78LjbcK006671 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 8 Aug 2008 14:45:38 -0700 Message-ID: <489CBE81.5030003@lerdorf.com> Date: Fri, 08 Aug 2008 14:45:37 -0700 User-Agent: Thunderbird/3.0a2pre (Macintosh; 2008071516) MIME-Version: 1.0 To: Dmitry Stogov CC: Hannes Magnusson , Arnaud Le Blanc , internals@lists.php.net, Felipe Pena , Christian Stocker , Andi Gutmans , Stanislav Malyshev References: <4899C4B4.3060902@liip.ch> <1218138548.5346.3.camel@felipe> <489B5285.1070000@lerdorf.com> <200808072237.01841.arnaud.lb@gmail.com> <7f3ed2c30808080011l3c62d416k7fd9b4dd455df99e@mail.gmail.com> <489C6BBA.8030101@zend.com> <489CBDD8.6070502@lerdorf.com> In-Reply-To: <489CBDD8.6070502@lerdorf.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (mail.lerdorf.com [204.11.219.139]); Fri, 08 Aug 2008 14:45:38 -0700 (PDT) Subject: Re: [PHP-DEV] include bug in 5.3 From: rasmus@lerdorf.com (Rasmus Lerdorf) Rasmus Lerdorf wrote: > Dmitry Stogov wrote: >> Hi, >> >> 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. 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. -Rasmus