Skip to content

Nhse o32.orkv.i151 usemaps - #12

Open
martinsumner wants to merge 2 commits into
openriak-3.2from
nhse-o32.orkv.i151-usemaps
Open

martinsumner wants to merge 2 commits into
openriak-3.2from
nhse-o32.orkv.i151-usemaps

Conversation

@martinsumner

Copy link
Copy Markdown

Combined fixes back-ported:

martinsumner#126
#11

Will randomly select from the top MaxResults set of ID clusters, and any tied with the sparsest set within the MaxResults.

This means when there is a contiguous set of IDs (e.g. when doing root_confirm with a fully broken root), any set of IDs will be chosen, not just sets within the first MaxResults.  This ensures a better spread of selections across the tree, so that the mismatched_segments will more accurately reflect the overall state of the tree
Uses ordsets due to OTP 22 compatibility requirement wrt v2 support in sets.  Is quicker than v2 sets when inputs is sorted (although they may not be)
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.

1 participant