Does anyone know if there is an STL compatible string class that allocates memory for small lines in the stack (up to a certain threshold) and a bunch for large lines?
I am looking for program optimization, and I use the allocation of small local lines that can easily fit on the stack, instead of being allocated in a heap.
c ++ string memory-management stl wstring
ROAR
source share