mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 09:56:31 +00:00
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 vim/vim#11365)
975a665d48
Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
This commit is contained in:
@@ -755,11 +755,7 @@ void free_all_mem(void)
|
||||
p_hi = 0;
|
||||
init_history();
|
||||
|
||||
qf_free_all(NULL);
|
||||
// Free all location lists
|
||||
FOR_ALL_TAB_WINDOWS(tab, win) {
|
||||
qf_free_all(win);
|
||||
}
|
||||
free_quickfix();
|
||||
|
||||
// Close all script inputs.
|
||||
close_all_scripts();
|
||||
|
Reference in New Issue
Block a user