Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33654 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4593 invoked by uid 1010); 4 Dec 2007 17:17:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4563 invoked from network); 4 Dec 2007 17:17:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2007 17:17:34 -0000 Authentication-Results: pb1.pair.com header.from=r.borschel@gmx.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=r.borschel@gmx.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.net designates 213.165.64.20 as permitted sender) X-PHP-List-Original-Sender: r.borschel@gmx.net X-Host-Fingerprint: 213.165.64.20 mail.gmx.net Linux 2.5 (sometimes 2.4) (4) Received: from [213.165.64.20] ([213.165.64.20:56133] helo=mail.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/90-27173-CCA85574 for ; Tue, 04 Dec 2007 12:13:52 -0500 Received: (qmail invoked by alias); 04 Dec 2007 17:13:36 -0000 Received: from e178120114.adsl.alicedsl.de (EHLO [192.168.0.2]) [85.178.120.114] by mail.gmx.net (mp027) with SMTP; 04 Dec 2007 18:13:36 +0100 X-Authenticated: #13379417 X-Provags-ID: V01U2FsdGVkX18kpCMDn0EkqMMN3URODorqcRHcafMM70Xj341f7g Hgc2UTgJyZ2K/S Message-ID: <18999DE8-0DCE-4E3E-83C9-21E2BB4C0525@gmx.net> To: internals@lists.php.net In-Reply-To: <52dbac0f0712040850m2e1a764cgc86f579246728b4f@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Tue, 4 Dec 2007 18:13:35 +0100 References: <4731278C.8020301@chiaraquartet.net> <52dbac0f0712040809v64da917cic9aa803f9800f49b@mail.gmail.com> <169B5499-3238-4364-823D-97572630E77B@gmx.net> <52dbac0f0712040850m2e1a764cgc86f579246728b4f@mail.gmail.com> X-Mailer: Apple Mail (2.915) X-Y-GMX-Trusted: 0 Subject: Re: [PHP-DEV] ignored patches From: r.borschel@gmx.net (Roman Borschel) On Dec 4, 2007, at 5:50 PM, Martin Alterisio wrote: > 2007/12/4, Roman Borschel : >> >> On Dec 4, 2007, at 5:09 PM, Martin Alterisio wrote: >>> 1) Why is performance relevant to whether namespaces are implemented >>> one per >>> file or many per file? >> >> Because including/requiring 80 files one by one seems to be >> significantly slower than including/requiring just a few files. > Sorry but that still doesn't answer my question. That answer the > question of > "why use bundling?". Sorry, then i don't understand the question. > >> >>> 2) I was under the impression namespaces were introduced to improve >>> code >>> maintainability. Was I wrong? >>> >> >> Of course. Such bundling processes usually only take place during an >> automated build process. This is not something thats used for >> development. > > > I didn't understand. Do you mean that I was wrong? You were right. Namespaces are being introduced to improve code maintainability & readability. > Or that I was right about > namespaces purpose, but that's only needed in development? Therefore, > shouldn't the bundling process remove the need for namespaces (i.e. > the > bundling process removes namespaces)? No because the whole code will use namespaces and just removing the namespace declarations during bundling will break the code.