aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/help.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-01-23 18:42:37 +0800
committerGitHub <noreply@github.com>2023-01-23 02:42:37 -0800
commitd58bf4ff307060829ba01f41dca52416105243d3 (patch)
treeb6e947c5d51c2d8ddee5e0f0839f4443f7965458 /src/nvim/help.c
parent45d511574ca18ad196d85c68d4c2ae58027ca273 (diff)
downloadrneovim-d58bf4ff307060829ba01f41dca52416105243d3.tar.gz
rneovim-d58bf4ff307060829ba01f41dca52416105243d3.tar.bz2
rneovim-d58bf4ff307060829ba01f41dca52416105243d3.zip
perf(completion): use one call to globpath() for .vim and .lua #21942
Test using the following test script (timings with ASAN): let start = reltime() for i in range(100) call getcompletion('', 'filetype') endfor echomsg reltimefloat(reltime(start)) Without this PR: 3.251825 seconds With this PR: 2.747285 seconds
Diffstat (limited to 'src/nvim/help.c')
0 files changed, 0 insertions, 0 deletions