[PHP-DEV] GOOD Benchmark Results for PHP Master 2017-05-04

2017-05-05 Thread lp_benchmark_robot
Results for project PHP master, build date 2017-05-04 19:26:02-07:00 commit: 5af997e previous commit:9d6b743 revision date: 2017-05-04 20:57:25+02:00 environment:Haswell-EP cpu:Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz 2x18 cores, stepping 2, LLC 45 MB

Re: [PHP-DEV] Add is_vectorlike($array) function

2017-05-05 Thread Ryan Pallas
On Tue, May 2, 2017 at 3:13 AM, Jesse Schalken wrote: > Related to the optimisation made by Sara Golemon here: > https://github.com/php/php-src/commit/c74bc87c74f48bc55541b3bf2fc67d > 595f58a3b5 > > I often define a function like this, which checks if an array is "vector > like" i.e. has keys 0,1

Re: [PHP-DEV] HYBRID VM

2017-05-05 Thread Dmitry Stogov
It provides comparabele improvement on smal benchmarks, without degradation on real apps. It can be compiled in reasonale time (GOTO requres significant time anda lot of memory). Finally HYBRID fallbak to CALL if compiler doesn't provide necessary extensions. Thanks. Dmitry. On May 5, 2017 10:2

Re: [PHP-DEV] HYBRID VM

2017-05-05 Thread Matt Wilmas
Hi Dmitry, - Original Message - From: "Dmitry Stogov" Sent: Wednesday, May 03, 2017 Hi, I propose a new VM instruction dispatch technique, that provides great speed up on small benchmarks (1.5 times on bench.php) Interesting. :-) How does this compare to pure GOTO dispatch...? Pl

[PHP-DEV] RFC permission request

2017-05-05 Thread Webist K
Hi there, I would like to request RFC karma for my wiki account. I've already registered myself. https://wiki.php.net/RFC/Webist I am having a plan to create a new RFC. Please allow for me the "Create this page" button, so that I can write my RFC in draft. Please do not hesitate to mail me back

Re: [PHP-DEV] Add is_vectorlike($array) function

2017-05-05 Thread Fleshgrinder
On 5/5/2017 12:00 AM, Rowan Collins wrote: > On 04/05/2017 13:51, Michael Morris wrote: >> For what it's worth, the Drupal assertion inspector calls these "Strict >> Arrays" since that's what they are - arrays in the true sense of the term >> found in all other languages. What PHP is calling an "ar