Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35579 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36026 invoked by uid 1010); 19 Feb 2008 06:40:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 36011 invoked from network); 19 Feb 2008 06:40:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Feb 2008 06:40:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=news@ger.gmane.org; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.2 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.2 main.gmane.org Linux 2.5 (sometimes 2.4) (4) Received: from [80.91.229.2] ([80.91.229.2:46284] helo=ciao.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 58/E7-23568-6C97AB74 for ; Tue, 19 Feb 2008 01:40:06 -0500 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1JRM94-0007HI-JA for internals@lists.php.net; Tue, 19 Feb 2008 06:40:02 +0000 Received: from p5088c8b4.dip.t-dialin.net ([80.136.200.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Feb 2008 06:40:02 +0000 Received: from sb by p5088c8b4.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Feb 2008 06:40:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: internals@lists.php.net Date: Tue, 19 Feb 2008 07:35:36 +0100 Lines: 13 Message-ID: References: <001c01c87264$3c01b4e0$b4051ea0$@de> <58510.98.193.37.55.1203374232.squirrel@www.l-i-e.com> <200802181936.17739.larry@garfieldtech.com> <47BA34AB.6010408@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: p5088c8b4.dip.t-dialin.net User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <47BA34AB.6010408@lerdorf.com> Sender: news Subject: Re: [PHP-DEV] RFC: Traits for PHP From: sb@sebastian-bergmann.de (Sebastian Bergmann) Rasmus Lerdorf schrieb: > The idea here is that we want to be able to cache opcodes, classes and > functions and optimize them out of the runtime context so the executor > can skip creating classes and functions on every single request. Thanks to their Flattening Property, there should be no notion of traits at runtime. So once the compiler has flattened a trait into a class it is just normal oparrays APC needs to deal with. At least as far as I can see. -- Sebastian Bergmann http://sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69