diff options
author | jsjtxietian <jsjtxietian@outlook.com> | 2023-08-20 16:49:16 +0800 |
---|---|---|
committer | jsjtxietian <jsjtxietian@outlook.com> | 2023-08-20 21:48:25 +0800 |
commit | 70dad7e5a341f9cbd51509d46d0376d7a2d0e497 (patch) | |
tree | e34e8ad70b770a4c5af26b5c6f8a2fa3fc2fb5ba /modules/gdscript/gdscript_rpc_callable.cpp | |
parent | 5444afae63f37cb4b890c781e5679a3b7ee5a392 (diff) | |
download | redot-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 'modules/gdscript/gdscript_rpc_callable.cpp')
0 files changed, 0 insertions, 0 deletions