Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12919 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80098 invoked by uid 1010); 21 Sep 2004 01:28:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 79952 invoked from network); 21 Sep 2004 01:28:22 -0000 Received: from unknown (HELO mail.zend.com) (80.74.107.235) by pb1.pair.com with SMTP; 21 Sep 2004 01:28:22 -0000 Received: (qmail 26240 invoked from network); 21 Sep 2004 01:28:19 -0000 Received: from localhost (HELO AndiNotebook.zend.com) (127.0.0.1) by localhost with SMTP; 21 Sep 2004 01:28:19 -0000 Message-ID: <5.1.0.14.2.20040920182416.04a8cdd0@localhost> X-Sender: andi@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Mon, 20 Sep 2004 18:28:08 -0700 To: internals@lists.php.net Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=====================_363480847==_" Subject: realpath() caching From: andi@zend.com (Andi Gutmans) --=====================_363480847==_ Content-Type: text/plain; charset="us-ascii"; format=flowed 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 --=====================_363480847==_--