> On 19 Jul 2018, at 13:34, Dmitry Stogov <dmi...@zend.com> wrote:
> 
> I've run few benchmarks, to measure the performance penalty of this proposal.
> 
> 
> https://gist.github.com/dstogov/b9fc0fdccfb8bf7bae121ce3d3ff1db1
> 
> 
> In most cases real-life apps become ~1% slower. In the worst case, I got 6% 
> slowdown (on mediawiki).


Nice overview.

Is there any overview of how it will improve performance for code moving from 
magic getters / setters to this?

Or is there interest in such a comparison?

(Context: working on a larger open source project where that is used quite a 
bit for type and read-only safety checks.)


Best,
André

Reply via email to