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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actually mark filter iterations as discarded #2757

Merged
merged 1 commit into from Jan 14, 2021

Conversation

DRMacIver
Copy link
Member

Hey, you know how we have the remove_discarded shrink pass specifically designed for e.g. improving the shrinking performance of filtered strategies by removing early iterations in the rejection sampling loop? Neat feature, right?

I was writing a short blog post explaining it and then thought I'd double check the code and discovered we weren't actually marking discarded iterations in filtered strategies as discarded, so they were never actually triggering this shrink pass. Whoops. 馃槼

Anyway, this PR fixes that.

@Zac-HD Zac-HD merged commit 76e5a8e into master Jan 14, 2021
@Zac-HD Zac-HD deleted the DRMacIver/filter-mark-discarded branch January 14, 2021 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants