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

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

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

Visibility: public

Requested revision: 804740af4ced8389e21df31a908c4212e32a477a

Requested commit: 804740af4ced8389e21df31a908c4212e32a477a

Commit: 804740af4ced8389e21df31a908c4212e32a477a

Tree: c136a0f3f8693edc8a9cca0475b3d7700f5076c4

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
InternPool: avoid indexToKey recursion for type_slice

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

```

## Parents

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

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