Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33808 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83429 invoked by uid 1010); 6 Dec 2007 18:20:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83414 invoked from network); 6 Dec 2007 18:20:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Dec 2007 18:20:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=scott.mcnaught@synergy8.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=scott.mcnaught@synergy8.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain synergy8.com designates 202.174.102.11 as permitted sender) X-PHP-List-Original-Sender: scott.mcnaught@synergy8.com X-Host-Fingerprint: 202.174.102.11 au01.synergy8.com Linux 2.6 Received: from [202.174.102.11] ([202.174.102.11:35085] helo=au01.synergy8.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 01/D2-15167-C7D38574 for ; Thu, 06 Dec 2007 13:20:45 -0500 Received: from [124.171.228.105] (helo=scottnote) by au01.synergy8.com with esmtpa (Exim 4.68) (envelope-from ) id 1J0LKs-0000Rh-Ci; Fri, 07 Dec 2007 04:20:34 +1000 Reply-To: To: "'Michael McGlothlin'" Cc: References: <475713B2.4030802@iamjochem.com> <475719ED.8050306@zend.com> <200712052110.37023.larry@garfieldtech.com> <47576AEF.4030306@omegavortex.net> <5474E017-DF97-4B91-8FE0-7D6831E64F56@bitxtender.com> <47582DC0.2040004@zend.com> <16F02B8A-6394-4175-9473-C4967606386C@bitxtender.com> <4758362B.8070504@swplumb.com> <47583783.4010904@zend.com> <47583ABB.5050306@swplumb.com> In-Reply-To: <47583ABB.5050306@swplumb.com> Date: Fri, 7 Dec 2007 04:20:26 +1000 Message-ID: <000301c83834$aca8af10$05fa0d30$@mcnaught@synergy8.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acg4MyQWY68p+NoMS76Sk6ZhskYcSwAAGprw Content-Language: en-au X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - au01.synergy8.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - synergy8.com Subject: RE: [PHP-DEV] Namespace From: scott.mcnaught@synergy8.com Just a thought... You know the whole thing about bundling into one file improving performance. People do this when they have upwards of 20 classes being included per request. I bet that most of the time these classes are a part of a framework / something that would be a part of common name space anyway. The whole "One namespace per file" policy will not stop people from bundling their classes. It will still allow them to bundle, but they will be restricted to just one file per namespace. So given a situation where someone has a library of around 20 classes... Where they would normally bundle down to one file... They bundle it down to 3 files, one for each namespace... There is hardly going to be much of a performance difference between 1 and 3 includes. I guess the point I am saying is that everyone is freaking out about the possible performance loss - but in reality you can still bundle and get 90% of the bundling gain. SCOTT MCNAUGHT Software Developer Synergy 8 / +617 3397 5212 scott.mcnaught@synergy8.com