Re: [RFC][DISCUSSION] Immutability

From: Date: Sun, 25 Feb 2018 17:29:31 +0000
Subject: Re: [RFC][DISCUSSION] Immutability
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-101924@lists.php.net to get a copy of this message
I had discussion on Twitter regarding semantics of keyword 'immutable'. I am considering now to replace keyword 'immutable' with 'value'. How would you compare those two, which one is more suitable here? On Feb 25, 2018 6:24 PM, "Silvio Marijić" <marijic.silvio@gmail.com> wrote: > Hi Dan, > > So far that is still only assumption made based on the fact that most of > the code for protecting state is composed of bit checks but I am definitely > interested to see benchmark for this RFC. > > Best regards, > > On Feb 25, 2018 5:49 PM, "Dan Ackroyd" <danack@basereality.com> wrote: > > On 23 February 2018 at 13:47, Silvio Marijić <marijic.silvio@gmail.com> > wrote: > > In addition to your question about impact on the performance, there is > > none. > > Have you actually measured that there is no performance impact, or is > that an assumption from what affect the code should have? > > cheers > Dan > > >

« previous php.internals (#101924) next »