Re: execute_data->Ts removing
| From: | Nikita Popov | Date: | Mon, 03 Dec 2012 15:33:55 +0000 |
| Subject: | Re: execute_data->Ts removing | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64139@lists.php.net to get a copy of this message | ||
On Mon, Dec 3, 2012 at 10:35 AM, Dmitry Stogov <dmitry@zend.com> wrote:
> The new proposed patch: http://pastebin.com/pj5fQTfN
>
> Now both execute_data->Ts and execute_data->CVs are removed and
> corresponding temporary and compiled variables accessed using
> "execute_data" as the base pointer. Temporary variables allocate directly
> before the "execute_data" in reverse order and compiled variables right
> after. So they can be accessed without any additional computations. The
> patch reduces the number of executed instructions and number of memory
> reads (about 8% less).
>
Did you also test how much these 8% less memory reads improve performance?
Would be interesting to know :)
Nikita