# stage2 parser: heuristics to pre-allocate token arrays · gitcafe/zig

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

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

Visibility: public

Requested revision: 6d5ec184ab1a1b8c155714801f7d6cb7ea6f5b8f

Requested commit: 6d5ec184ab1a1b8c155714801f7d6cb7ea6f5b8f

Commit: 6d5ec184ab1a1b8c155714801f7d6cb7ea6f5b8f

Tree: fdc134758797b6ddd388ed67ea1e3707719c2393

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2 parser: heuristics to pre-allocate token arrays

throughput: 72.2 MiB/s => 75.3 MiB/s

```

## Parents

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

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