Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We can pre-calculate and cache the pun in the callsite, rewriting the call capture in the dispatcher to include it. This means that calls to methods on a role (typically `.new`, which relies on punning) will now no longer need to slurp/flatten arguments, will avoid an extra level of invocation, and expose the target method in the pun for spesh linking and/or inlining.
- Loading branch information
Showing
2 changed files
with
21 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
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