# InternPool: enhance integer values · gitcafe/zig

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

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

Visibility: public

Requested revision: ac07ddadeb36019c262b4f28a4fa3884f6f50b32

Requested commit: ac07ddadeb36019c262b4f28a4fa3884f6f50b32

Commit: ac07ddadeb36019c262b4f28a4fa3884f6f50b32

Tree: 3dc3f2ea03f2faa5b110001b6dd0d9dff567de0e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
InternPool: enhance integer values

The Key struct now has a Storage tagged union which can store a u64,
i64, or big int.

This is needed so that indexToKey can be implemented for integers stored
compactly in the data structure.

```

## Parents

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

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