-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: more fast paths in webidl dict converter
- Loading branch information
1 parent
4cb808c
commit 1209b5e
Showing
2 changed files
with
60 additions
and
11 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
Very mild performance optimization:
{ ...defaultValues }
is faster thanObject.assign({}, defaultValues)
for some reason. This is one of the exceptions to the "old is fast, new is slow" rule.