<stacktrace>
: Should we reduce allocations in operator<<
and formatter
?
#5423
Labels
question
Further information is requested
It seems that we can avoid allocating whole strings in the
operator<<
s by designing suitable filling functions.(
_Os
should be locked and unlocked directly in theoperator<<
s.)STL/stl/inc/stacktrace
Lines 332 to 340 in 5762e6b
But this approach probably needs more
xsputn
calls, as the underlying buffer can have various types. Do we want this?It seems to me that such optimization in
formatter
specializations would be less controversial.The text was updated successfully, but these errors were encountered: