RE: [PHP-DEV] Coercive Scalar Type Hints RFC

From: Date: Mon, 23 Feb 2015 12:08:19 +0000
Subject: RE: [PHP-DEV] Coercive Scalar Type Hints RFC
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-83565@lists.php.net to get a copy of this message
> -----Original Message----- > From: Dmitry Stogov [mailto:dmitry@zend.com] > Sent: Monday, February 23, 2015 1:54 PM > To: Joe Watkins > Cc: Etienne Kneuss; Jefferson Gonzalez; PHP internals; Anthony Ferrara; > Zeev > Suraski > Subject: Re: [PHP-DEV] Coercive Scalar Type Hints RFC > > > I think our approches were very similar and leaded us to simular > decisions, > however we alredy tried jit-ing bench.php with type hints (strict). While > JIT > itselv makes bench.php about 5 times faster, type hints adds about 2%. > Strict > or weak make no difference at all. Woops, it was Mandelbrot that was 25x faster with JIT. bench.php as a whole was 'only' 5 times faster as Dmitry stated. Zeev

« previous php.internals (#83565) next »