Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: Improve performance of
QUnit.equiv()
Small refactors (removals/adjustments) to make code more readable. Makes code more readable and remove variable mutations. * Remove IIFE closure, moving main function as direct export, and the rest as top-level local function. * callbacks.object: Optimize compareConstructors(). * callbacks.object: Optimize object comparison prop call by skipping overhead and indirection of typeEquiv() for known array type. * callbacks.array: Optimize isContainer() away, using a predefined Set. * innerEquiv: Remove array allocation by re-using `slice` reference. Closes #1700.
- Loading branch information