And actually, if you have such short strings, the small buffer optimization of modern string implementations will kick in and not allocate anything on the heap at all.
Printable View
And actually, if you have such short strings, the small buffer optimization of modern string implementations will kick in and not allocate anything on the heap at all.