diff options
author | Jozef Behran <jozuejozef@gmail.com> | 2019-03-07 02:20:33 -0500 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2019-03-07 08:20:33 +0100 |
commit | bb35d062255ed74f6e1ebe0f7c4714054803b248 (patch) | |
tree | 5bb33f4cdfb68f5854df2398da5f55dbf0ecb7a0 /client/shaders/minimap_shader | |
parent | 007c8440d7da324af05631389f9a850e805fb3b3 (diff) | |
download | minetest-bb35d062255ed74f6e1ebe0f7c4714054803b248.tar.gz minetest-bb35d062255ed74f6e1ebe0f7c4714054803b248.tar.bz2 minetest-bb35d062255ed74f6e1ebe0f7c4714054803b248.zip |
Optimize string handling in path search (#8098)
Use "append" method to construct the various game paths
instead of wasteful string concatenation. Additionally, use a
temporary to extract and reuse a result of a few common
subexpressions to further reduce the overhead.
Diffstat (limited to 'client/shaders/minimap_shader')
0 files changed, 0 insertions, 0 deletions