-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
misc: improve mapping performance for nullable union type
This adds a check within the loop for union type mapping, which will skip `NullType` as it was already handled in `CasterProxyNodeBuilder`. This greatly improves performance as it removes a useless call to the whole node building process.
- Loading branch information
1 parent
1278392
commit 6fad94a
Showing
2 changed files
with
17 additions
and
0 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