Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77064 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55981 invoked from network); 5 Sep 2014 07:20:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2014 07:20:41 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.42 mail-qg0-f42.google.com Received: from [209.85.192.42] ([209.85.192.42:50003] helo=mail-qg0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/00-55384-84469045 for ; Fri, 05 Sep 2014 03:20:41 -0400 Received: by mail-qg0-f42.google.com with SMTP id q107so2117692qgd.29 for ; Fri, 05 Sep 2014 00:20:38 -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=o8kySyyOlCslA83fyiyka359wI74/U9Jp+xmzISnb4Q=; b=V6AUbYklkdPAm1ywcqarmI2O0HDjsO3yj5drKozxG5xvamT+iOFx3eujDW0GGhCodA 76/TH8T+tTarZRbNmLu+9J9+vl30dU1QdEMKWgHxvPLlfeSRu+bR/MLxpwugq1b3Vk9I 8TOq56TVGdNd4DXlqKQED9vI98oKcmgOm9yxxI6IuGKHpk0Uq/O3y3Q7I1K0s+8ThJ5c ll9XODiNCH4WrXsqf7u6xVdN6esB+GDhfKHzieB/Y0lfCQK+f0mBWvDB34u7AZ0JUXAa iryxxQYPdMxAn6nQwu2HvpymST10VGyINULQ35oXQmw4evJf0ntRZZDqMkXrlgCCokwE 4DOQ== MIME-Version: 1.0 X-Received: by 10.224.61.142 with SMTP id t14mr16139871qah.4.1409901637922; Fri, 05 Sep 2014 00:20:37 -0700 (PDT) Received: by 10.140.95.146 with HTTP; Fri, 5 Sep 2014 00:20:37 -0700 (PDT) In-Reply-To: References: <54091826.6050602@sugarcrm.com> Date: Fri, 5 Sep 2014 09:20:37 +0200 Message-ID: To: Dmitry Stogov Cc: Stas Malyshev , Bob Weinand , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: Fast zend_parse_parameters API From: pierre.php@gmail.com (Pierre Joye) On Fri, Sep 5, 2014 at 8:45 AM, Dmitry Stogov wrote: > It's already done for strlen() - ZEND_STRLEN opcode (and few other > functions). > But it make no sense to convert all useful functions into opcodes. > We need an ability of fast parameter parsing anyway. Got that, but hard to say for which functions. Right now it is used for almost everything, reflection, pcre, etc. I can hardly think about why a faster zpp may impact these functions. Do you have an exhaustive list? I am not saying it is not good to rethink zpp but if we do then the gain from a usability point of view must be much better. I do not see that now (yes, subjective but...). Cheers, -- Pierre @pierrejoye | http://www.libgd.org