# InternPool: add a slice encoding · gitcafe/zig

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

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

Visibility: public

Requested revision: 31aee50c1a96b7e72b42ee885636b27fbcac8eb4

Requested commit: 31aee50c1a96b7e72b42ee885636b27fbcac8eb4

Commit: 31aee50c1a96b7e72b42ee885636b27fbcac8eb4

Tree: ddd17a80a48fa620a6d4cea9d8f6a970eb90845d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
InternPool: add a slice encoding

This uses the data field to reference its pointer field type, which
allows for efficient and infallible access of a slice type's pointer
type.

```

## Parents

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

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