Skip to content

Sort skip ids before using in binary search#94

Merged
zach-klippenstein merged 1 commit intoblock:mainfrom
samruston:main
Sep 8, 2020
Merged

Sort skip ids before using in binary search#94
zach-klippenstein merged 1 commit intoblock:mainfrom
samruston:main

Conversation

@samruston
Copy link
Copy Markdown
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 a team, jamesmosley55 and pyricau as code owners September 7, 2020 15:54
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Sep 7, 2020

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
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