summaryrefslogtreecommitdiffstats
path: root/core/object/script_language_extension.cpp
diff options
context:
space:
mode:
authorjsjtxietian <jsjtxietian@outlook.com>2023-08-20 16:49:16 +0800
committerjsjtxietian <jsjtxietian@outlook.com>2023-08-20 21:48:25 +0800
commit70dad7e5a341f9cbd51509d46d0376d7a2d0e497 (patch)
treee34e8ad70b770a4c5af26b5c6f8a2fa3fc2fb5ba /core/object/script_language_extension.cpp
parent5444afae63f37cb4b890c781e5679a3b7ee5a392 (diff)
downloadredot-engine-70dad7e5a341f9cbd51509d46d0376d7a2d0e497.tar.gz
Fixes a text find perf issue, if can't find any
match words, just early break the while loop. This will improve a lot when p_search.length is way too long since p_from_column will only plus 1 every loop
Diffstat (limited to 'core/object/script_language_extension.cpp')
0 files changed, 0 insertions, 0 deletions