-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(common): Perf improvements in hot functions:
- extend: Use native ES6 `Object.assign` if available - extend: Use nested for loop for non-native polyfill - defaults: Simplify logic - pick / omit: avoid v8 deopt. simplify. remove varargs support - arrayTuples: unroll for arguments.length === 1, 2, 3, 4 Related to #27 Related to angular-ui/ui-router#3274
- Loading branch information
1 parent
027c995
commit 4193244
Showing
4 changed files
with
65 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@anotherchrisberry this is the source of the bug. Not sure what I was thinking. The correct implementation is commented out on line 249