We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cycle_n
Same as cycle but with finite number of repeats.
cycle
The text was updated successfully, but these errors were encountered:
Can we say that we already cover this with itertools::repeat_n(iter, n).flatten()?
itertools::repeat_n(iter, n).flatten()
Sorry, something went wrong.
Microbenchmarks say dedicated function will get optimized better.
And, personally, I would prefer being able to do this with only dot-chaining
No branches or pull requests
Same as
cycle
but with finite number of repeats.The text was updated successfully, but these errors were encountered: