# InternPool: avoid indexToKey recursion for only_possible_value · gitcafe/zig

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

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

Visibility: public

Requested revision: f2778f7ca07cdfd599c65185dbcc6a648740fd5d

Requested commit: f2778f7ca07cdfd599c65185dbcc6a648740fd5d

Commit: f2778f7ca07cdfd599c65185dbcc6a648740fd5d

Tree: db62e2ecc46ae0f927ec1243bc722ab4b45b42b9

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
InternPool: avoid indexToKey recursion for only_possible_value

This is a hot function, and recursion makes it more difficult to
profile, as well as likely making it more difficult to optimize.

```

## Parents

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

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