[Improvement] Performance, allow to init `array_list` with initial capacity
theoludwig opened this issue ยท 2 comments
theoludwig commented
Type of Improvement
Performance
Proposal
Instead of reallocating the memory, each time we add 10 items to the array list, we could reduce the memory allocations, by allocating a initial capacity when creating the array list.
theoludwig commented
perf: allow to init array_list
with initial capacity
theoludwig commented
๐ This issue has been resolved in version 5.0.0 ๐
The release is available on GitHub release
Your semantic-release bot ๐ฆ๐