13 ms·
> my personal guideline is to always allocate reasonable capacity on construction rather than on first insertion. That works until probabilistically there is a
by ComputerGuru 5y ago
> my personal guideline is to always allocate reasonable capacity on construction rather than on first insertion.
That works until probabilistically there is a decent chance the capacity will always be zero.