Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make Str.substr(N) between 1.5 and 3x faster
- 3x faster if N == 0 - 1.5x faster if N > 0 Also added !SUBSTR-START-OOR as private method: this was moved to Rakudo::Internals when private methods were bad new wrt performance.
- Loading branch information
Showing
1 changed file
with
15 additions
and
7 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