This reduces some repeated startup work in find_term_bykeys() and vim_strchr().
Compared with master on normal startup (./vim -c 'qa!'):
| Benchmark | master | branch | delta |
|---|---|---|---|
Callgrind Ir |
788,506,178 | 574,678,633 | -27.12% |
| Hyperfine wall-clock | 2.156 s ± 0.018 s | 2.153 s ± 0.037 s | no meaningful change |
This lowers CPU work in the startup path, but startup time itself stays about the same here because terminal I/O and other external costs still dominate.
https://github.com/vim/vim/pull/19902
(2 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()