aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/eval_spec.lua
diff options
context:
space:
mode:
authoroni-link <knil.ino@gmail.com>2016-01-24 22:18:44 +0100
committeroni-link <knil.ino@gmail.com>2016-01-24 23:38:38 +0100
commit291495a7b0974c22b34ddc849b75941bb506d44b (patch)
tree9aebe6aa7ac91aed371ea2836fe1d30978d2c9fb /test/functional/legacy/eval_spec.lua
parente1d81178ccf374e7142207356a022bdf10571918 (diff)
downloadrneovim-291495a7b0974c22b34ddc849b75941bb506d44b.tar.gz
rneovim-291495a7b0974c22b34ddc849b75941bb506d44b.tar.bz2
rneovim-291495a7b0974c22b34ddc849b75941bb506d44b.zip
regexp_nfa.c: Speed up find_match_text()
An extra test in commit 0a116c828debc6192a6bfb6bceb8cf020e867db0 was introduced, to check for end of string with a call to strlen(). This was necessary, because an incorrect length for invalid byte sequences was used to step through the string. This slowed down find_match_text() compared to vim's version. To speed up things, the extra check was removed and a sequence length of 1 for invalid byte sequences is used. Fixes issue #3486
Diffstat (limited to 'test/functional/legacy/eval_spec.lua')
0 files changed, 0 insertions, 0 deletions