Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 53550 invoked from network); 9 Jan 2013 16:57:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jan 2013 16:57:14 -0000 Authentication-Results: pb1.pair.com header.from=pierrick@webstart.fr; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=pierrick@webstart.fr; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain webstart.fr from 74.125.82.173 cause and error) X-PHP-List-Original-Sender: pierrick@webstart.fr X-Host-Fingerprint: 74.125.82.173 mail-we0-f173.google.com Received: from [74.125.82.173] ([74.125.82.173:36726] helo=mail-we0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/50-02684-861ADE05 for ; Wed, 09 Jan 2013 11:57:14 -0500 Received: by mail-we0-f173.google.com with SMTP id z2so1147500wey.18 for ; Wed, 09 Jan 2013 08:57:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=2/jdTYa8IdBg3mAFbE3yNn5aZErw1yxE7Orxl3ZB7rU=; b=LHRGT0Kst3fTWVqpsAlvqmyrR/MF2RgAi8k05bnePXJ6KHVwA9jT78e1VXRWC/hpZC t3SdRqM6ealX4n20Ps05G6G2YJbSOIIH6vZrG8/T3oAcCaZyX8LJfCpjVU7LZRLLFHVr 41RA7YmU95Cbrmcpb3V6kc5Org6rPayRyeK+0iHPc3jjagVMpQ44wBmKQp1ohMc3NzpL FmEviZYrBJbqNmUVeURYkR2JmAFgp+UhOOO2imb5sGOjSZqBqZ7BglIkY6NCJ+D7OiUk P5DC1OlmK+SH+FU0jdkYYkH2XbEbWJj5AsHTJ2tN4eTuovPNuKEqWEo1RZBWBpnZU8CS VubQ== MIME-Version: 1.0 Received: by 10.194.19.170 with SMTP id g10mr109881759wje.56.1357750629990; Wed, 09 Jan 2013 08:57:09 -0800 (PST) Received: by 10.180.164.13 with HTTP; Wed, 9 Jan 2013 08:57:09 -0800 (PST) In-Reply-To: <50ED9C46.40103@lerdorf.com> References: <50EBDEEE.8070605@sugarcrm.com> <50EC6569.6030202@sugarcrm.com> <50EC917C.3070805@sugarcrm.com> <50ED9C46.40103@lerdorf.com> Date: Wed, 9 Jan 2013 11:57:09 -0500 Message-ID: To: Rasmus Lerdorf Cc: Derick Rethans , Rafael Dohms , Stas Malyshev , Pierre Joye , "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQkVdojT6REpxluGzTMXgtPfSW6+cBUGAZVRpSTQXL1O0L6JlobSL9MeAEbneHrdhdNMFKAy Subject: Re: [PHP-DEV] [RFC] Reflection annotations reader From: pierrick@webstart.fr (Pierrick Charron) Hi, I agree with you on this point, we should not introduce any new feature if there is no way to deal with largely used extensions like apc, xdebug or maybe others. The provided implementation is not supposed to be final (syntax or internal implementation) and I'm sure there are many improvements that could be made to make it better and I'm open to any suggestions. If the implementation and the idea is considered, I'll be please to work on a patch for APC so that annotations can be cached and that there is as less performance decrease as possible (it will at the same time give me the occasion to look at APC internal). I'll probably need some help but I'm sure this will not be an issue. Pierrick On 9 January 2013 11:35, Rasmus Lerdorf wrote: > In this case, attaching annotations/properties to classes will > definitely affect APC since we cache classes separately and NOP their > creation out of the op_arrays. So any extra opcodes will have to be > optimized out and the resulting class created and cached correctly.