1
0
forked from aniani/vim

patch 9.0.0749: alloc/free of buffer for each quickfix entry is inefficient

Problem:    Alloc/free of buffer for each quickfix entry is inefficient.
Solution:   Use a shared grow array. (Yegappan Lakshmanan, closes #11365)
This commit is contained in:
Yegappan Lakshmanan
2022-10-14 13:11:13 +01:00
committed by Bram Moolenaar
parent b9c09c118e
commit 975a665d48
4 changed files with 82 additions and 52 deletions

View File

@@ -35,6 +35,7 @@ int trigger_cexpr_autocmd(int cmdidx);
int cexpr_core(exarg_T *eap, typval_T *tv);
void ex_cexpr(exarg_T *eap);
void ex_helpgrep(exarg_T *eap);
void free_quickfix(void);
void f_getloclist(typval_T *argvars, typval_T *rettv);
void f_getqflist(typval_T *argvars, typval_T *rettv);
void f_setloclist(typval_T *argvars, typval_T *rettv);