diff options
author | ii14 <59243201+ii14@users.noreply.github.com> | 2023-11-23 22:26:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-24 05:26:33 +0800 |
commit | 32a4c9f4f92dc9371a1a6ee053223babca89d4a1 (patch) | |
tree | 4f5989eaac2d1beab39a60e32876170d55445d28 /runtime/lua/vim/highlight.lua | |
parent | df399ea0d20e86027d0b59ca4bbd445c1d035a67 (diff) | |
download | rneovim-32a4c9f4f92dc9371a1a6ee053223babca89d4a1.tar.gz rneovim-32a4c9f4f92dc9371a1a6ee053223babca89d4a1.tar.bz2 rneovim-32a4c9f4f92dc9371a1a6ee053223babca89d4a1.zip |
perf: remove redundant strlen in skipwhite (#26177)
skipwhite was iterating over the input twice and scanning for the null
byte character with strlen. this is redundant, because it's already
covered by ascii_iswhite that accepts only space or tab character.
Co-authored-by: ii14 <ii14@users.noreply.github.com>
Diffstat (limited to 'runtime/lua/vim/highlight.lua')
0 files changed, 0 insertions, 0 deletions