Added initCapacity and relevant test

Added ArrayList.initCapcity() as a way to preallocate a block of memory to reduce future allocations.

Added a test "std.ArrayList.initCapacity" that ensures initCapacity adds no elements and increases capacity by at least the requested amount
10e6cde083MCRusher committed on 11/24/2019, 3:54:33 AM· committed by GitHubparent29d7b5a
1 file changedLine totals unavailable