RE: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 : Backing Property
| From: | Clint Priest | Date: | Mon, 15 Oct 2012 14:25:48 +0000 |
| Subject: | RE: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 : Backing Property | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-63418@lists.php.net to get a copy of this message | ||
master
Cycles Direct Getter __get
v1.4 @ 10/8/2012 1m .05s .21s .20s
php 5.5.0-dev
Cycles Direct Getter __get
v1.4 @ 10/8/2012 1m .04s n/a .21s
"Direct" vs "Getter" vs "__get" on 1 million cycles.
> -----Original Message-----
> From: Levi Morrison [mailto:morrison.levi@gmail.com]
> Sent: Monday, October 15, 2012 9:16 AM
> To: Clint Priest
> Cc: Nikita Popov (nikita.ppv@gmail.com); internals@lists.php.net
> Subject: Re: [PHP-DEV] [PHP-DEV [RFC] Property Accessors v1.2 : Backing Property
>
> > But here are some issues with the above that may be of concern:
> > * Property access is 4x faster than accessor method calling
>
> 4x faster on what kind of scale? Where are these performance tests at?