Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Since these are likely to be common cases, give them a fast path.
- Loading branch information
Since these are likely to be common cases, give them a fast path.
b6e5d7f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not a single:
? Or even a single:
?
b6e5d7f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both of those would need to handle a
Slip
and looks like that was attempted, but it madeSlip
case a lot slower.b6e5d7f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tho looking at that attempt, I'd guess it's the use of
nextsame
that makes it slow. It might be worth trying to extract the Slip handling case into a Rakudo::Internals sub and calling that instead ofnextsame