4 ms·
It is very likely that in this particular case small string optimization would allocate data on stack and no heap allocations would take place.
by T-zex 10y ago
It is very likely that in this particular case small string optimization would allocate data on stack and no heap allocations would take place.