diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-09-10 17:22:35 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-09-10 17:22:35 -0400 |
commit | 96e061547d15cb44dbe091e7aec507b2d9c87da2 (patch) | |
tree | 2b1366d1bd0f84e4c3f7d27ad4abafa8c6807601 /indra/newview/llviewerdisplay.cpp | |
parent | dca6f0deae49d133f180ef937939b8648649fbc6 (diff) |
In llstring.cpp, build result strings using basic_ostringstream<T>.
Many of the string conversion functions in llstring.cpp would build their
result strings using successive concatenation operations, piece by piece. This
can be expensive in allocations. Instead, use a std::basic_ostringstream of
char type appropriate to the return string type to aggregate piecewise string
building.
Diffstat (limited to 'indra/newview/llviewerdisplay.cpp')
0 files changed, 0 insertions, 0 deletions