mirror of
https://github.com/ziglang/zig.git
synced 2026-01-12 02:15:12 +00:00
Because ArrayList.initCapacity uses 'precise' capacity allocation, this should save memory on average, and definitely will save memory in cases where ArrayList is used where a regular allocated slice could have also be used.