# std.ArrayHashMap: count and iterator are not deprecated · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/aded86e6909e01dfb45b35204e9dedf6aabb3d58)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: aded86e6909e01dfb45b35204e9dedf6aabb3d58

Requested commit: aded86e6909e01dfb45b35204e9dedf6aabb3d58

Commit: aded86e6909e01dfb45b35204e9dedf6aabb3d58

Tree: 8b84db04a2537cd9005af7fbfab09a825633c0b5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.ArrayHashMap: count and iterator are not deprecated

These APIs allow one to write code that is agnostic of whether it is
using an ArrayHashMap or a HashMap, which can be valuable. Specify
intent precisely: if you only need the count of the items, it makes
sense to have a function for that.

```

## Parents

- [21b407b17f25001b70bbd847f9b2d2782866597c](https://git.cafe/gitcafe/zig/commit/21b407b17f25001b70bbd847f9b2d2782866597c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/aded86e6909e01dfb45b35204e9dedf6aabb3d58?format=markdown)
