-
-
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.
speed up 0-arg constructor dispatch. fixes #21730
For the `Type` method table, use the top-level `any` cache to split based on whether the first argument is a leaf type. Leaf types use the hash table, and non-leaf types skip the first argument and try to split on the second argument instead.
- Loading branch information
1 parent
7ec29a3
commit aaaf9f4
Showing
1 changed file
with
22 additions
and
5 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