# aro: use ArrayList in GCCDetector instead of BoundedArray · gitcafe/zig

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

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

Visibility: public

Requested revision: a34a51ef6eb4bd8dfab14bd8bfe1193d5573eacf

Requested commit: a34a51ef6eb4bd8dfab14bd8bfe1193d5573eacf

Commit: a34a51ef6eb4bd8dfab14bd8bfe1193d5573eacf

Tree: 7cba9d333f6ebae6208e8487080bea896086acf7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
aro: use ArrayList in GCCDetector instead of BoundedArray

These arrays don't really all have an upper bound of 16; in fact they
have different upper bounds. Presumably the reason 16 was used for all
of them was to avoid code bloat with BoundedArray. Well, now even more
code bloat has been eliminated because now it's using
`ArrayList([]const u8)` which is certainly instantiated elsewhere.
Furthermore, the different corrected upper bounds can be specified at
each instance of the array list.

```

## Parents

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

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