mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -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:
@@ -1449,7 +1449,7 @@ eval_for_line(
|
||||
else
|
||||
{
|
||||
// Need a real list here.
|
||||
range_list_materialize(l);
|
||||
CHECK_LIST_MATERIALIZE(l);
|
||||
|
||||
// No need to increment the refcount, it's already set for
|
||||
// the list being used in "tv".
|
||||
|
Reference in New Issue
Block a user