theoludwig/libcproject

[Improvement] Performance, allow to init `array_list` with initial capacity

theoludwig opened this issue ยท 2 comments

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.

perf: allow to init array_list with initial capacity

๐ŸŽ‰ This issue has been resolved in version 5.0.0 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€