Re: array_values should be a no-op for packed layout arrays
| From: | Julien Pauli | Date: | Wed, 15 Mar 2017 09:01:32 +0000 |
| Subject: | Re: array_values should be a no-op for packed layout arrays | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98533@lists.php.net to get a copy of this message | ||
On Wed, Mar 15, 2017 at 12:58 AM, Jesse Schalken <me@jesseschalken.com>
wrote:
>
> On Wed, Mar 15, 2017 at 10:39 AM, Sara Golemon <pollita@php.net> wrote:
>
>>
>> Oh yeah, btw... six hours ago...
>>
>> https://github.com/php/php-src/commit/c74bc87c74f48bc55541b3
>> bf2fc67d595f58a3b5
>>
>> -Sara
>>
>
> Awesome, thanks Sara.
>
>
Nice Sara.
Yep my example wasn't that good , but such an array with holes could be
packed, thus pretty unlikely.
For interested souls , I detailed that in an article of mine, targeting 7.0
, at http://jpauli.github.io/2016/04/08/hashtables.html
Julien.P