Replace ArrayList.init/ensureTotalCapacity pairs with initCapacity

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.
e97feb96e4Ryan Liptak committed on 11/4/2021, 6:54:25 PM· committed by Andrew Kelleyparentd03e9d0
14 files changedLine totals unavailable