0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.0751: Vim9: performance can be improved

Problem:    Vim9: performance can be improved.
Solution:   Don't call break.  Inline check for list materialize.  Make an
            inline version of ga_grow().
This commit is contained in:
Bram Moolenaar
2020-05-13 22:44:22 +02:00
parent 37d1b4f941
commit 7e9f351b2e
17 changed files with 89 additions and 79 deletions

View File

@@ -183,7 +183,7 @@ set_buffer_lines(
rettv->vval.v_number = 1; // FAIL
goto done;
}
range_list_materialize(l);
CHECK_LIST_MATERIALIZE(l);
li = l->lv_first;
}
else