summaryrefslogtreecommitdiff
path: root/indra/newview/res
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2024-09-10 17:22:35 -0400
committerNat Goodspeed <nat@lindenlab.com>2024-09-10 17:22:35 -0400
commit96e061547d15cb44dbe091e7aec507b2d9c87da2 (patch)
tree2b1366d1bd0f84e4c3f7d27ad4abafa8c6807601 /indra/newview/res
parentdca6f0deae49d133f180ef937939b8648649fbc6 (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/res')
0 files changed, 0 insertions, 0 deletions