Commit c6899b7
authored
Remove redundant list copy in CanMatchNodeRequest (elastic#121700) (elastic#126298)
We're not mutating that list ever, so lets just use an immutable list
all the way here and avoid at least one round of needless copy.1 parent a64f032 commit c6899b7
File tree
1 file changed
+1
-1
lines changed- server/src/main/java/org/elasticsearch/action/search
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
0 commit comments