Re: [PHP-DEV] Switch jumptable optimization

2015-02-16 Thread Joe Watkins
Very clever ... thanks bob :) Cheers Joe On Tue, Feb 17, 2015 at 6:46 AM, Dmitry Stogov wrote: > On Tue, Feb 17, 2015 at 2:04 AM, Bob Weinand wrote: > > > I'd like to show you my recent work on a jumptable optimization for > > switches. > > > > https://github.com/php/php-src/pull/1048 < > > ht

Re: [PHP-DEV] Switch jumptable optimization

2015-02-16 Thread Dmitry Stogov
On Tue, Feb 17, 2015 at 2:04 AM, Bob Weinand wrote: > I'd like to show you my recent work on a jumptable optimization for > switches. > > https://github.com/php/php-src/pull/1048 < > https://github.com/php/php-src/pull/1048> > > It is a fully transparent optimization of switches, by putting a new

Re: [PHP-DEV] Switch jumptable optimization

2015-02-16 Thread Rasmus Lerdorf
On 02/16/2015 03:47 PM, Bob Weinand wrote: >> Am 17.02.2015 um 00:30 schrieb Rasmus Lerdorf > >: >> >> On 02/16/2015 03:04 PM, Bob Weinand wrote: >>> I'd like to show you my recent work on a jumptable optimization for >>> switches. >>> >>> https://github.com/php/php-src/p

Re: [PHP-DEV] Switch jumptable optimization

2015-02-16 Thread Bob Weinand
> Am 17.02.2015 um 00:30 schrieb Rasmus Lerdorf : > > On 02/16/2015 03:04 PM, Bob Weinand wrote: >> I'd like to show you my recent work on a jumptable optimization for switches. >> >> https://github.com/php/php-src/pull/1048 >> >> >> It is a fully tran

Re: [PHP-DEV] Switch jumptable optimization

2015-02-16 Thread Rasmus Lerdorf
On 02/16/2015 03:04 PM, Bob Weinand wrote: > I'd like to show you my recent work on a jumptable optimization for switches. > > https://github.com/php/php-src/pull/1048 > > > It is a fully transparent optimization of switches, by putting a new > ZEND_SW