mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.0618: calling function for reduce() has too much overhead
Problem: Calling function for reduce() has too much overhead. Solution: Do not create a funccall_T every time.
This commit is contained in:
@@ -1609,7 +1609,7 @@ checkitem_common(void *context, char_u *name, dict_T *dict)
|
||||
argv[0].vval.v_dict = dict;
|
||||
}
|
||||
|
||||
if (eval_expr_typval(expr, argv, 1, &rettv) == FAIL)
|
||||
if (eval_expr_typval(expr, argv, 1, NULL, &rettv) == FAIL)
|
||||
goto theend;
|
||||
|
||||
// We want to use -1, but also true/false should be allowed.
|
||||
|
Reference in New Issue
Block a user