diff options
author | A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> | 2024-05-30 16:11:36 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2024-11-15 22:32:56 -0500 |
commit | 285ada4e5d4c6098c823b17fe980e2a9f820df3a (patch) | |
tree | 9bbb069e3834b60487d81288dd21c595eb913673 /editor/editor_native_shader_source_visualizer.cpp | |
parent | 2060becaa7f64285b48f8950e70e8705dfc2078d (diff) | |
download | redot-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