perf: partially replace .concat with .push (#13609)
This commit is contained in:
@@ -305,9 +305,7 @@ export default function convertFunctionRest(path) {
|
||||
return true;
|
||||
}
|
||||
|
||||
state.references = state.references.concat(
|
||||
state.candidates.map(({ path }) => path),
|
||||
);
|
||||
state.references.push(...state.candidates.map(({ path }) => path));
|
||||
|
||||
const start = t.numericLiteral(paramsCount);
|
||||
const key = scope.generateUidIdentifier("key");
|
||||
|
||||
Reference in New Issue
Block a user