# Update ensureTotalCapacity to ensureTotalCapacityPrecise where it makes sense · gitcafe/zig

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

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

Visibility: public

Requested revision: a34375814106dbc0e0181bca7cc4ffb1821cb51e

Requested commit: a34375814106dbc0e0181bca7cc4ffb1821cb51e

Commit: a34375814106dbc0e0181bca7cc4ffb1821cb51e

Tree: d618f9b7216623a8ad9b415f29dc4c9f0d6bd155

Author: Ryan Liptak

Committer: Ryan Liptak

## Message

```
Update ensureTotalCapacity to ensureTotalCapacityPrecise where it makes sense

These calls are all late-initialization of ArrayList's that were initialized outside the current scope. This allows us to still get the potential memory-saving benefits of the 'precision' of initCapacity.

```

## Parents

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

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