# stage1: small mem usage improvement for IR · gitcafe/zig

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

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

Visibility: public

Requested revision: 5cbb642525fa92e16dd3c9e978a9f8a34734de4c

Requested commit: 5cbb642525fa92e16dd3c9e978a9f8a34734de4c

Commit: 5cbb642525fa92e16dd3c9e978a9f8a34734de4c

Tree: 7c479d76abcebda8ff536871095cffd6c9474e57

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage1: small mem usage improvement for IR

move a boolean field to be represented implicitly with the enum tag.
Just borrowing one of the many strategies of stage2.

This simple change took the peak mem usage from std lib tests on
my machine from 8.21 GiB to 8.11 GiB.

```

## Parents

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

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