Re: [PHP-DEV] Packed array is not fast?

2015-06-14 Thread Yasuo Ohgaki
Hi Levi, On Mon, Jun 15, 2015 at 12:35 PM, Levi Morrison wrote: > How are you testing hash vs packed? As far as what you posted I cannot > tell a difference – it looks like you are running the same thing twice > (same binary and same input file). > I've modified START index and verified both pa

Re: [PHP-DEV] Packed array is not fast?

2015-06-14 Thread Levi Morrison
On Thu, Jun 11, 2015 at 4:21 PM, Yasuo Ohgaki wrote: > Hi all, > > I've tried to see how packed array is faster with following code > > http://3v4l.org/TQd6c > > I confirmed when start index is non-zero, hash is used by > zend_hash_index_find(). > I got following result. (with much larger number o

Re: [PHP-DEV] Array dereferencing of scalars

2015-06-14 Thread Rowan Collins
On 14 June 2015 04:33:16 BST, Yasuo Ohgaki wrote: >Hi Rowan, > >On Thu, Jun 11, 2015 at 5:59 PM, Rowan Collins > >wrote: >> This one has given a different message because of it being a >non-string >> value, but would be equally fatal if you tried to call any undefined >> function. Would coercing N

RE: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-14 Thread Anatol Belski
Hi Jan, > -Original Message- > From: Jan Ehrhardt [mailto:php...@ehrhardt.nl] > Sent: Sunday, June 14, 2015 8:11 PM > To: internals@lists.php.net > Subject: Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing! > > Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700): > >> On J

Re: [PHP-DEV] PHP 7.0.0alpha1 Released for Testing!

2015-06-14 Thread Jan Ehrhardt
Rasmus Lerdorf in php.internals (Sat, 13 Jun 2015 16:14:37 -0700): >> On Jun 13, 2015, at 14:54, Jan Ehrhardt wrote: >> >> Rasmus Lerdorf in php.internals (Fri, 12 Jun 2015 13:13:16 -0700): >>> You can get even more speed by compiling with --enable-opcache-file and >>> then in your php-cli.ini ad

Re: [PHP-DEV] [RFC] Throwable Interface

2015-06-14 Thread Aaron Piotrowski
> On Jun 14, 2015, at 11:31 AM, Anatol Belski wrote: > > Hi Dmitry, > > > > I would go by accepting this. Furthermore – if you feel that the > implementation is stable enough and does not BC, I would suggest to have it > already in the alpha2. > > > > As there seems to be at all no resis

RE: [PHP-DEV] [RFC] Throwable Interface

2015-06-14 Thread Anatol Belski
Hi Dmitry, I would go by accepting this. Furthermore – if you feel that the implementation is stable enough and does not BC, I would suggest to have it already in the alpha2. As there seems to be at all no resistance in the votes (no even single “no” voter yet), nor strong objection her