# std/crypto: vectorize BLAKE3 · gitcafe/zig

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

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

Visibility: public

Requested revision: 72064eba233fd3fd8e3dc0ab6f5fc73c6bdf1922

Requested commit: 72064eba233fd3fd8e3dc0ab6f5fc73c6bdf1922

Commit: 72064eba233fd3fd8e3dc0ab6f5fc73c6bdf1922

Tree: d4f479fb0ee636c75f23810e751190a6050eae2e

Author: Frank Denis

Committer: Andrew Kelley

## Message

```
std/crypto: vectorize BLAKE3

Gives a ~40% speedup on x86_64.

However, the generic code remains faster on aarch64.

This is still processing only one block at a time for now.

I'm pretty confident that processing more blocks per round
will eventually give a substantial performance improvement on
all platforms with vector units.

```

## Parents

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

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