Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:36062 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59517 invoked from network); 8 Mar 2008 16:27:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Mar 2008 16:27:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 38.99.98.18 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 38.99.98.18 beast.bluga.net Linux 2.6 Received: from [38.99.98.18] ([38.99.98.18:55144] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 51/FD-18442-87EB2D74 for ; Sat, 08 Mar 2008 11:27:37 -0500 Received: from mail.bluga.net (localhost.localdomain [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id CAA2AC1050F; Sat, 8 Mar 2008 09:27:33 -0700 (MST) Received: from [192.168.0.106] (CPE-76-84-4-101.neb.res.rr.com [76.84.4.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 2390BC1050B; Sat, 8 Mar 2008 09:27:33 -0700 (MST) Message-ID: <47D2BE8A.5090807@chiaraquartet.net> Date: Sat, 08 Mar 2008 10:27:54 -0600 User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: Alexey Zakhlestin CC: internals Mailing List , Dmitry Stogov References: <47D21F95.7090704@chiaraquartet.net> In-Reply-To: X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] profiling followup on addition of streams to include_path - it's *faster* From: greg@chiaraquartet.net (Gregory Beaver) Alexey Zakhlestin wrote: > what about including(_once) by absolute path? > Hi, There is no difference from the existing code for include_once, the first line of php_resolve_path has a check for IS_ABSOLUTE_PATH, all of the code I wrote follows this line. Calls to include (no _once) would add 1 function call to php_resolve_path, an insignificant difference. Greg