# Clean up writing the trie into ULEB128 byte stream · gitcafe/zig

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

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

Visibility: public

Requested revision: ba41e599bfaff2c614c4edfbe5c7ffe94b437486

Requested commit: ba41e599bfaff2c614c4edfbe5c7ffe94b437486

Commit: ba41e599bfaff2c614c4edfbe5c7ffe94b437486

Tree: 4b3cd8d8f9bb3ac1bb52addf00e1b3c581ade710

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Clean up writing the trie into ULEB128 byte stream

Prealloc as much as possible to improve alloc performance.

Signed-off-by: Jakub Konka <kubkon@jakubkonka.com>

```

## Parents

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

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