Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:62140 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88662 invoked from network); 14 Aug 2012 11:59:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Aug 2012 11:59:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.170 mail-yx0-f170.google.com Received: from [209.85.213.170] ([209.85.213.170:61341] helo=mail-yx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F1/F6-00812-3AD3A205 for ; Tue, 14 Aug 2012 07:59:32 -0400 Received: by yenm10 with SMTP id m10so343621yen.29 for ; Tue, 14 Aug 2012 04:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=csuKfj/9rpkQvPS0h5/0mQoFCyhLQ1wKQ94rYjAbJuk=; b=qPAWz/JhVjOM3RJ1QCP6riXZ2bUu0SabmeulEfsIAy/ELh2WoV+4jEmI9E/jAgLqba lFNUn51vK5dnHrZhx5e1sFmJ/oshcneVEN3crjoFRjE0/BJn/XO8kgyPKIIVI68Wupre wSjM9BxvCQGQBX7ajPlr6g0OtisXex9+9xPzfs1yjzuBzPottW7h9k6K6C1G+7WCY1/m 6HCC/9fgTIrVxJRJ6soR8npdVdAuVpQnIYXkudyOy3fBKHDPq7JxafVUXN5v0hNCRL1B qL++YXRKIFOVgPUtScTY1heBlpLCq6TBA+GPuC4Q/8wdIK6eZKrCX0jKOF5wgduSQASI QiRw== MIME-Version: 1.0 Received: by 10.42.155.200 with SMTP id v8mr9641062icw.12.1344945568420; Tue, 14 Aug 2012 04:59:28 -0700 (PDT) Received: by 10.64.137.101 with HTTP; Tue, 14 Aug 2012 04:59:28 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Aug 2012 13:59:28 +0200 Message-ID: To: Anthony Ferrara Cc: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Decorators Revisited From: pierre.php@gmail.com (Pierre Joye) hi Anthony, On Sun, Aug 12, 2012 at 8:17 PM, Anthony Ferrara wrote: > What do you think? Is this a route that I should continue down? Or is there > something fundamental that I'm missing here? I know that Reflection, > get_interfaces(), etc would need to be updated to account for this. > > Thoughts? I very much like this idea! And I'm convinced that more tests/efforts/thoughts should be put into this. One point I worry about is performance. As of 5.3 & 5.4, the object usage performance has been significantly improved. I wonder what would be the impact of this change on this gain. Did you look at that already? Surely too early but still good to get an idea or to keep this parameter in mind:). Keep the great work! Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org