# crypto.bcrypt: fix massive speed regression when using stage2 \(\#13518\) · gitcafe/zig

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

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

Visibility: public

Requested revision: b239a178c5694f630a55ba72c5c96beb656c2a5d

Requested commit: b239a178c5694f630a55ba72c5c96beb656c2a5d

Commit: b239a178c5694f630a55ba72c5c96beb656c2a5d

Tree: 4ea9aff9235ed743406afecb2695370179c5982c

Author: Frank Denis

Committer: Andrew Kelley

## Message

```
crypto.bcrypt: fix massive speed regression when using stage2 (#13518)

state: State -> state: *const State
Suggested by @nektro

Fixes #13510
```

## Parents

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

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