# Simplify wyhash and improve speed · gitcafe/zig

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

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

Visibility: public

Requested revision: fbcdf78cbd5ff955d1aec0e55026168eed8d43f6

Requested commit: fbcdf78cbd5ff955d1aec0e55026168eed8d43f6

Commit: fbcdf78cbd5ff955d1aec0e55026168eed8d43f6

Tree: 3ed4bd90f80ec8932c8826f02b2640dcb8ff3df1

Author: Marc Tiehuis

Committer: Sahnvour

## Message

```
Simplify wyhash and improve speed

This removes the exposed stateless variant since the standard variant
has similar speed now.

Using `./benchmark --filter wyhash --count 1024`, the speed change has
changed from:

    wyhash
       iterative: 4093 MiB/s [6f76b0d5db7db34c]
      small keys: 3132 MiB/s [28c2f43c70000000]

to

    wyhash
       iterative: 6515 MiB/s [673e9bb86da93ea4]
      small keys: 10487 MiB/s [28c2f43c70000000]

```

## Parents

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

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