Skip to content
New issue

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

make vector shrinking lazy #4

Closed
BurntSushi opened this issue Apr 17, 2014 · 0 comments · Fixed by #74
Closed

make vector shrinking lazy #4

BurntSushi opened this issue Apr 17, 2014 · 0 comments · Fixed by #74
Labels

Comments

@BurntSushi
Copy link
Owner

Currently, a vector is shrunk by producing all possible shrunk values immediately. It would be much better if they were generated lazily with an iterator.

Perhaps std::iter::Unfold will be useful for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant