mirror of
https://github.com/ziglang/zig.git
synced 2025-12-25 07:33:08 +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.