Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move the iterator logic of Str.comb(N) to RI::Ngrams
And also make the logic a bit more general, to allow for additional uses, such as creating ngrams of a string No functional changes, unmeasurable performance change on Str.comb(N)
- Loading branch information
Showing
2 changed files
with
67 additions
and
63 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