Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Use ES6 rest operator and allow V8 to optimize mergeOptions (#3743
) The current implementation causes the `mergeOptions` function to be de-optimized. This change improves readability by switching to ES6 syntax AND it results in a roughly 75% improvement in the performance of this function by transpiling to a `for` loop instead of `slice.call`.
- Loading branch information