Mercurial > vim
diff READMEdir/README_amibin.txt @ 34213:19c88c3d8c43 v9.1.0055
patch 9.1.0055: formatting long lines is slow
Commit: https://github.com/vim/vim/commit/78019df645400796831670ec166e7e3b55ae8310
Author: kawaii-Code <nia.personal.0@gmail.com>
Date: Thu Jan 25 21:40:05 2024 +0100
patch 9.1.0055: formatting long lines is slow
Problem: formatting long lines is slow
(kawaii-Code)
Solution: optimize gq (internal_format) for long
lines (kawaii-Code)
Implemented two workarounds that significantly reduce
the amount of pointless calls. Ideally the algorithm
would be rewritten not to be n^2, but it's too complicated
with too many corner cases.
closes: #13914
Signed-off-by: kawaii-Code <nia.personal.0@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Jan 2024 21:45:04 +0100 |
parents | 4635e43f2c6f |
children | 0f4f084609f1 |