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

Sort skip ids before using in binary search #94

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

samruston
Copy link
Contributor

@samruston samruston commented Sep 7, 2020

skipIdsViewFilter is using a binary search without making sure the view ids are sorted. This PR simply sorts it when creating the view filter. Added a test that previously failed because the list is unsorted.

@samruston samruston requested review from jamesmosley55, pyricau and a team as code owners September 7, 2020 15:54
@CLAassistant
Copy link

CLAassistant commented Sep 7, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Collaborator

@zach-klippenstein zach-klippenstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@zach-klippenstein zach-klippenstein merged commit 9ccac56 into block:main Sep 8, 2020
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.

4 participants