]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1151: too many strlen() calls in getchar.c v9.1.1151
authorJohn Marriott <basilisk@internode.on.net>
Tue, 25 Feb 2025 19:56:38 +0000 (20:56 +0100)
committerChristian Brabandt <cb@256bit.org>
Tue, 25 Feb 2025 19:56:38 +0000 (20:56 +0100)
commitd3c4b7e9461f90bad7a671c1221d65def9cccc89
treed611dccbb5075fc8eb0f9052a03a7e9e1a75e2cc
parent580e457a2a5fa63b9be0bf5f2c81434e157bcc0a
patch 9.1.1151: too many strlen() calls in getchar.c

Problem:  too many strlen() calls in getchar.c
Solution: store last inserted and recorded lengths,
          add functions to retrieve those and use those
          functions (John Marriott)

closes: #16720

Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/edit.c
src/getchar.c
src/proto/getchar.pro
src/register.c
src/version.c