]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0426: too many strlen() calls in search.c v9.1.0426
authorJohn Marriott <basilisk@internode.on.net>
Mon, 20 May 2024 17:18:26 +0000 (19:18 +0200)
committerChristian Brabandt <cb@256bit.org>
Mon, 20 May 2024 17:18:26 +0000 (19:18 +0200)
commit8c85a2a49acf80e4f53ec51e6ff2a5f3830eeddb
treed6554cf3c98aeef4af872d35ded945933bf911f8
parent69dff00dfb37077f4a80fd9635ea963889ad4b49
patch 9.1.0426: too many strlen() calls in search.c

Problem:  too many strlen() calls in search.c
Solution: refactor code and remove more strlen() calls,
          use explicit variable to remember strlen
          (John Marriott)

closes: #14796

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
16 files changed:
src/cmdhist.c
src/evalfunc.c
src/ex_cmds.c
src/ex_docmd.c
src/ex_getln.c
src/gui.c
src/insexpand.c
src/normal.c
src/proto/cmdhist.pro
src/proto/search.pro
src/quickfix.c
src/search.c
src/spell.c
src/structs.h
src/tag.c
src/version.c