diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-03-12 10:28:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-12 10:28:03 +0800 |
| commit | f847aa62088153c5ea7ddcd1259c631d49146f6a (patch) | |
| tree | d052fb4e30bdc2730f7046565b35fbde0ba123a4 /runtime/lua/vim/provider/python.lua | |
| parent | 692f882052fa7fb943672367edc47ef013430668 (diff) | |
| download | rneovim-f847aa62088153c5ea7ddcd1259c631d49146f6a.tar.gz rneovim-f847aa62088153c5ea7ddcd1259c631d49146f6a.tar.bz2 rneovim-f847aa62088153c5ea7ddcd1259c631d49146f6a.zip | |
vim-patch:9.2.0140: file reading performance can be improved (#38266)
Problem: Reading large files is slow because UTF-8 validation and
newline scanning are performed byte-by-byte. Initial file
loading also triggers listener and channel processing.
Solution: Use memchr() for SIMD-optimized newline scanning, implement
word-at-a-time ASCII skipping during UTF-8 validation using a
bitmask, skip listener/netbeans/channel notifications
when the ML_APPEND_NEW flag is set during readfile()
(Yasuhiro Matsumoto).
closes: vim/vim#19612
https://github.com/vim/vim/commit/2ca96b09d751c35189dd587d9b201e2aeb5559c0
Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Co-authored-by: NRK <nrk@disroot.org>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions