mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4823: concat more than 2 strings in :def function is inefficient
Problem: Concatenating more than 2 strings in a :def function is inefficient. Solution: Add a count to the CONCAT instruction. (closes #10276)
This commit is contained in:
@@ -152,7 +152,7 @@ typedef enum {
|
||||
ISN_COMPAREANY,
|
||||
|
||||
// expression operations
|
||||
ISN_CONCAT,
|
||||
ISN_CONCAT, // concatenate isn_arg.number strings
|
||||
ISN_STRINDEX, // [expr] string index
|
||||
ISN_STRSLICE, // [expr:expr] string slice
|
||||
ISN_LISTAPPEND, // append to a list, like add()
|
||||
|
Reference in New Issue
Block a user