Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose more constants in raku-invoke dispatcher
When the code object we're invoking is a known constant in the dispatch - typically because we got it out of the methods table - we don't need the dispatch program to look up the $!do dynamically. We can instead just look it up directly and expose it to the VM as a constant. This results in shorter dispatch programs and lets spesh avoid inserting lots of static frame guards.
- Loading branch information
Showing
1 changed file
with
47 additions
and
19 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