3 ms·Reserve the maximum every time.by tedunangst 4y agoReserve the maximum every time.cozzyd 4y agoThat has cache friendliness implications though, doesn't it? Seems better to just cap the size of the allocation and use a VLA.