Mercurial > vim
diff runtime/doc/tags @ 34434:89f9a7925fff v9.1.0138
patch 9.1.0138: too many STRLEN calls when getting a memline
Commit: https://github.com/vim/vim/commit/02d7a6c6cfceb3faf9c98fcb7c458760cd50d269
Author: John Marriott <basilisk@internode.on.net>
Date: Mon Feb 26 21:21:17 2024 +0100
patch 9.1.0138: too many STRLEN calls when getting a memline
Problem: too many STRLEN calls when getting a memline
Solution: Optimize calls to STRLEN(), add a few functions in memline.c
that return the byte length instead of relying on STRLEN()
(John Marriott)
closes: #14052
Signed-off-by: John Marriott <basilisk@internode.on.net>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 26 Feb 2024 21:30:03 +0100 |
parents | 7b6e286c89cb |
children | e3d2ba1fd1a3 |