Re: [RFC][Vote] Typed Properties
| From: | Levi Morrison | Date: | Fri, 10 Jun 2016 14:24:48 +0000 |
| Subject: | Re: [RFC][Vote] Typed Properties | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93869@lists.php.net to get a copy of this message | ||
On Fri, Jun 10, 2016 at 6:37 AM, Dmitry Stogov <dmitry@zend.com> wrote:
> Hi,
>
>
> I hardly worked on implementation of this patch for a week, but I still don't like it.
>
> It makes 15% slowdown on each property update in existing PHP code (without types), and I
> don't see a way to improve this.
>
> Update of typed properties is going to be even more expensive.
>
> Benchmark results are included into RFC (and not changed with the latest version of the patch).
>
>
> -1.
>
>
> Thanks. Dmitry.
>
> ________________________________
> From: Joe Watkins <pthreads@pthreads.org>
> Sent: Friday, June 10, 2016 1:38:04 PM
> To: PHP internals; Phil Sturgeon
> Subject: [PHP-DEV] [RFC][Vote] Typed Properties
>
> Afternoon internals,
>
> The vote for typed properties has been restarted.
>
> Please take part: https://wiki.php.net/rfc/typed-properties
>
> Cheers
> Joe
To clarify though, didn't Wordpress and Mediawiki see only a 0.1%
slowdown? In my opinion that is definitely a tolerable performance hit
for such a feature.