# make use of hasUniqueRepresentation to speed up hashing facilities, fastpath in getAutoHashFn is particularly important for hashmap performance · gitcafe/zig

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

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

Visibility: public

Requested revision: f67ce1e35fe3ecf19b50f64b9fe2d85747f7934d

Requested commit: f67ce1e35fe3ecf19b50f64b9fe2d85747f7934d

Commit: f67ce1e35fe3ecf19b50f64b9fe2d85747f7934d

Tree: ae29d6c2a1444ed46641cb4500673bff61e6badd

Author: Sahnvour

Committer: Sahnvour

## Message

```
make use of hasUniqueRepresentation to speed up hashing facilities, fastpath in getAutoHashFn is particularly important for hashmap performance

gives a 1.18x speedup on gotta-go-fast hashmap bench

```

## Parents

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

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