]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/Formatter: use CachedStackStringStream for efficiency
authorPatrick Donnelly <pdonnell@redhat.com>
Thu, 9 May 2024 16:25:46 +0000 (12:25 -0400)
committerPatrick Donnelly <pdonnell@redhat.com>
Tue, 14 May 2024 18:31:52 +0000 (14:31 -0400)
commit0610ed0ef095536b8f7a9477eeb070d2f5c957b9
treea3584ea802f4aae7569118341e9b09e2da72233c
parent9aede08ff77d34db75a9e4a5c607d0cf1136639f
common/Formatter: use CachedStackStringStream for efficiency

A stringstream is incredibly expensive to construct, use a cached one.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/common/Formatter.cc