# astgen.zig: avoid temporary allocations by sharing the \`instructions\` ArrayList between a GenZir and its sub-blocks wherever their use of it is strictly nested · gitcafe/zig

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

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

Visibility: public

Requested revision: 01842a6eadbe6e01d4afc4fc06394e73c9f24d58

Requested commit: 01842a6eadbe6e01d4afc4fc06394e73c9f24d58

Commit: 01842a6eadbe6e01d4afc4fc06394e73c9f24d58

Tree: fc67e573f2542247a5410b94406b1d0615e31703

Author: Matthew Borkowski

Committer: Matthew Borkowski

## Message

```
astgen.zig: avoid temporary allocations by sharing the `instructions` ArrayList between a GenZir and its sub-blocks wherever their use of it is strictly nested

```

## Parents

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

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