Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a single Braid for matches that don't need one
Simple regex matches simply don't need a Braid at all, so just make a single one per time we run Perl 6 and re-use it. It's a percent or so off a program doing a simple regex match in a hot loop.
- Loading branch information
Showing
1 changed file
with
6 additions
and
2 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