note 70730 deleted from language.types.array by peehaa
| From: | peehaa@php.net | Date: | Sun, 28 Apr 2019 10:24:44 +0000 |
| Subject: | note 70730 deleted from language.types.array by peehaa | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210776@lists.php.net to get a copy of this message | ||
Note Submitter:
----
This page should include details about how associative arrays are implemened inside PHP; e.g. using
hash-maps or b-trees.
This has important implictions on the permance characteristics of associative arrays and how they
should be used; e.g. b-tree are slow to insert but handle collisions better than hashmaps. Hashmaps
are faster if there are no collisions, but are slower to retrieve when there are collisions. These
factors have implictions on how associative arrays should be used.