5 ms·
These are usually discouraged. If there's small upper bound on the size you'll need, type array[MAX_SIZE] is more efficient and harder to mess up [0]. If there
by pkkm 3y ago
These are usually discouraged. If there's small upper bound on the size you'll need, type array[MAX_SIZE] is more efficient and harder to mess up [0]. If there isn't, you should use the heap.
[0] For more details, see e.g. https://nullprogram.com/blog/2019/10/27/ https://nullprogram.com/blog/2019/10/27/