Re: [PHP-DEV] Re: Reusing main VM stack for generators

2016-01-25 Thread Dmitry Stogov
On 01/25/2016 11:36 AM, Bob Weinand wrote: Am 25.01.2016 um 09:13 schrieb Dmitry Stogov : We basically need a way to properly first fetch the args (beware: func_arg fetches...) before instantiating the call frame, an issue which for example could be solved if we applied my vm_stack_restructu

Re: [PHP-DEV] Re: Reusing main VM stack for generators

2016-01-25 Thread Bob Weinand
> Am 25.01.2016 um 09:13 schrieb Dmitry Stogov : >> We basically need a way to properly first fetch the args (beware: func_arg >> fetches...) before instantiating the call frame, an issue which for example >> could be solved if we applied my vm_stack_restructuring patch (because it >> only insta

[PHP-DEV] Re: Reusing main VM stack for generators

2016-01-25 Thread Dmitry Stogov
On 01/22/2016 10:29 PM, Bob Weinand wrote: Am 22.01.2016 um 15:43 schrieb Dmitry Stogov >: Hi, Could you please, take a look into the PoC. It's incomplete, but may be you get ideas how to fix this. https://gist.github.com/dstogov/285024375d15cacf2a9b Few tests are f

[PHP-DEV] Re: Reusing main VM stack for generators

2016-01-22 Thread Bob Weinand
> Am 22.01.2016 um 15:43 schrieb Dmitry Stogov : > > > Hi, > > Could you please, take a look into the PoC. > It's incomplete, but may be you get ideas how to fix this. > > https://gist.github.com/dstogov/285024375d15cacf2a9b > > > Few tes