Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41485 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25047 invoked from network); 27 Oct 2008 20:46:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2008 20:46:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:63082] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/9D-34199-1C826094 for ; Mon, 27 Oct 2008 15:46:58 -0500 Received: from us-gw1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 27 Oct 2008 22:47:26 +0200 Received: from [192.168.16.110] ([192.168.16.110]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 27 Oct 2008 13:47:23 -0700 Message-ID: <490628DB.9060209@zend.com> Date: Mon, 27 Oct 2008 13:47:23 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Josh Davis CC: Rodrigo Saboya , internals@lists.php.net References: <49048EC1.9060908@chiaraquartet.net> <4904CE3B.2000001@chiaraquartet.net> <4905EDA9.9050301@zend.com> <11c607a60810271049y419c252q7e21cde9221f1996@mail.gmail.com> <490600CD.5020207@zend.com> <11c607a60810271252r4bedeea8q59ce5423891d8e59@mail.gmail.com> <49061E01.8060503@zend.com> <11c607a60810271344i1a8cf53fl149447ad2f687f99@mail.gmail.com> In-Reply-To: <11c607a60810271344i1a8cf53fl149447ad2f687f99@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Oct 2008 20:47:23.0436 (UTC) FILETIME=[368DC6C0:01C93875] Subject: Re: [PHP-DEV] namespace separator and whining From: stas@zend.com (Stanislav Malyshev) Hi! >>> 1) check for namespaced\classname >>> 2) try to autoload namespaced\classname >>> 3) check for internal classname > > How would you reorder those? 1) check for namespaced\classname 2) try to autoload namespaced\classname 3) fail > ...but didn't you say "one time is enough"? According to your own > logic, include is a "performance bomb" as well. You seem to not understand how bytecode caches work. With bytecode caches, you can have zeto disk accesses per request. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com