4 ms·
Strings don’t have to fill the char array they live in. Overallocating a buffer is a common technique to avoid frequent reallocation.
by robotresearcher 9y ago
Strings don’t have to fill the char array they live in. Overallocating a buffer is a common technique to avoid frequent reallocation.