Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82246 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84346 invoked from network); 9 Feb 2015 08:52:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2015 08:52:35 -0000 Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.220.169 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.220.169 mail-vc0-f169.google.com Received: from [209.85.220.169] ([209.85.220.169:60135] helo=mail-vc0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1F/B6-50460-35578D45 for ; Mon, 09 Feb 2015 03:52:35 -0500 Received: by mail-vc0-f169.google.com with SMTP id kv19so2452074vcb.0 for ; Mon, 09 Feb 2015 00:52:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4Jo2Qu449xdPg9uY1XGVrMYzxNWn9yKxa4ErU3SVb2A=; b=Jq0kCYOZ954IO6p+57n8ELXg+fax0rQOfNEfZNWqSdOzwGnDdERcDdXdQKM7gC0gSR 2grohlYeTQJkE7xq9drSNvYUG3cceh31I4k8XWT5jj2uvq3FCMhzXvqq+XhZ1xpxWLG8 xO/LDNoug5AfM5fEZ7z0G6ZIGe8F4mBT/ZiaLnwZOOe5Ekk0aaq+YnXhU5xrjQSPXVDi 2+tMu/CgQlV/lDU8FW4BFafUK3F0QPmf3xXeR3cPtA558koA6Py9C7u22obNnBaDKF7E BuIqskeatJTQEDUT1OsLHStU/hoSubZ6ozM1BCKjmm48Kd9L43a/OM4qV0mXwb+2vEzU HNGA== X-Gm-Message-State: ALoCoQnU52mm6R038s1rtuUGIS5+D7RP+UKvxOztMNxWWRhAD6E1CFZhepODIJHKWhfi5kM29XwuY/LJoIzR61d/+EjPUppQ1GMEMm3IlrkjacbYrmU3kdVd96kwD0LCupqkIbXfayzLNMFE9oCivmWdezG/pGjQDw== MIME-Version: 1.0 X-Received: by 10.220.185.193 with SMTP id cp1mr9583287vcb.80.1423471952432; Mon, 09 Feb 2015 00:52:32 -0800 (PST) Received: by 10.52.74.73 with HTTP; Mon, 9 Feb 2015 00:52:32 -0800 (PST) In-Reply-To: References: <8703B53E-2C4A-4AC6-95C4-D4F19C6D5221@ajf.me> <54D5659D.5000602@php.net> <54D7A6DB.3050209@seld.be> <0a344270616df2c33c8a1f5db2df08a0@mail.gmail.com> Date: Mon, 9 Feb 2015 12:52:32 +0400 Message-ID: To: Pierre Joye Cc: Matthew Leverton , Zeev Suraski , PHP internals Content-Type: multipart/alternative; boundary=089e0153861012ab11050ea3e455 Subject: Re: [PHP-DEV] [VOTE] Scalar Type Hints From: dmitry@zend.com (Dmitry Stogov) --089e0153861012ab11050ea3e455 Content-Type: text/plain; charset=UTF-8 This is definitely not a blocker. Slight degradation is caused by additional checks on each function call. Anyway, it's an issue that would be geat to fix. Thanks. Dmitry. On Mon, Feb 9, 2015 at 11:17 AM, Pierre Joye wrote: > On Mon, Feb 9, 2015 at 3:04 PM, Dmitry Stogov wrote: > > this is more or less true. :( > > The proposal is presented in an unfair way to include strict typing > without > > the ability to vote for weak types only. > > > > Despite of semantic arguments, the implementation is a bit immature and > > introduces slowdown for any code without type hints. > > Hm, I have a bad feeling about this argument popping up again now. I > did not see any significant perf degradation using common apps but I > ask Matt to run some tests again using the PR vs master, let discuss > actual subjective numbers instead of raising the performance impact > blocker :) > > Cheers, > Pierre > --089e0153861012ab11050ea3e455--