Re: Request for couple memory optimized array improvements
| From: | Olle Härstedt | Date: | Mon, 31 Aug 2020 18:49:34 +0000 |
| Subject: | Re: Request for couple memory optimized array improvements | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111746@lists.php.net to get a copy of this message | ||
NB: You have SplFixedArray which can cover some use-cases.
On Mon, 31 Aug 2020, 20:48 Markus Fischer, <markus@fischer.name> wrote:
> On 31.08.20 20:13, Riikka Kalliomäki wrote:
> > Another similar problem with creating array copies is the detection of
> > "indexed" arrays (as opposed to associative arrays).
>
> I'm looking forward to an answer from someone proficient in this area
> because _I think_ the engine _internally_ keeps track of this for
> performance optimizations, though I don't think it exposes it.
>
> - Markus
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>
>