ArrayMap uses less memory than HashMap, and is recommended for several hundred items, especially if the map is not updated frequently. Reducing the time to allocate and free memory can also provide some overall performance boost.
The performance update is a little worse because any insert requires a copy of the array. The read performance is comparable for a small number of items and uses binary search.
source share