summaryrefslogtreecommitdiffstats
path: root/editor/editor_native_shader_source_visualizer.cpp
diff options
context:
space:
mode:
authorA Thousand Ships <96648715+AThousandShips@users.noreply.github.com>2024-05-30 16:11:36 +0200
committerSpartan322 <Megacake1234@gmail.com>2024-11-15 22:32:56 -0500
commit285ada4e5d4c6098c823b17fe980e2a9f820df3a (patch)
tree9bbb069e3834b60487d81288dd21c595eb913673 /editor/editor_native_shader_source_visualizer.cpp
parent2060becaa7f64285b48f8950e70e8705dfc2078d (diff)
downloadredot-engine-285ada4e5d4c6098c823b17fe980e2a9f820df3a.tar.gz
[Core] Optimize `String::replace` methods
Performs a single allocation, only when any instances are found, and avoids concatenations and other unnecessary conversions. (cherry picked from commit cbaec62b0335bc70c7cf7d55651678591bafafd2)
Diffstat (limited to 'editor/editor_native_shader_source_visualizer.cpp')
0 files changed, 0 insertions, 0 deletions