Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12920 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78983 invoked by uid 1010); 21 Sep 2004 02:24:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78674 invoked from network); 21 Sep 2004 02:24:25 -0000 Received: from unknown (HELO mail.zend.com) (80.74.107.235) by pb1.pair.com with SMTP; 21 Sep 2004 02:24:25 -0000 Received: (qmail 5423 invoked from network); 21 Sep 2004 02:24:23 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 21 Sep 2004 02:24:23 -0000 Message-ID: <5.1.0.14.2.20040920192353.0448d210@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 20 Sep 2004 19:24:19 -0700 To: internals@lists.php.net In-Reply-To: <5.1.0.14.2.20040920182416.04a8cdd0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] realpath() caching From: andi@zend.com (Andi Gutmans) References: <5.1.0.14.2.20040920182416.04a8cdd0@localhost> Thanks for pointing out that the attachment didn't make it through. You can find it at: http://snaps.php.net/~andi/realpath_cache2.diff Andi At 06:28 PM 9/20/2004 -0700, Andi Gutmans wrote: >Hi, > >Attached is the promised patch to do realpath() caching. >You can set cache size and TTL via the php.ini (default is 2 minutes TTL >and 16K memory). >It doesn't use the SAPI time() but uses the syscall time() because it >seemed to be slightly faster but we can adjust it to use the SAPI one if >anyone measures a difference in performance (might depend on the OS). > >Feedback welcome. >Also any feedback on the VM patch? I'd like to commit it soon but I >haven't heard anything from this list (people were saying they wanted to >review it). > >Thanks, >Andi > > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php