Re: About optimization
| From: | Rasmus Lerdorf | Date: | Thu, 14 Jan 2010 01:02:56 +0000 |
| Subject: | Re: About optimization | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46725@lists.php.net to get a copy of this message | ||
Tim Starling wrote:
> Some other operations, like deleting items from the middle of the array
> or adding items past the end (leaving gaps) would also have to trigger
> conversion. The point would be to optimise the most common use cases for
> integer-indexed arrays.
I still say this isn't something most people run into. I have looked at
a lot of code in a lot of different use cases and I always see things
being cpu-bound long before it is memory-bound.
-Rasmus