-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use Arrays.compareUnsigned in IDVersionSegmentTermsEnum and OrdsSegmentTermsEnum. #13782
base: main
Are you sure you want to change the base?
Conversation
…egmentTermsEnum and OrdsSegmentTermsEnum.
@uschindler |
Indeed it likely does, can you merge main back into your branch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
We had others like this in former PRs (e.g., #13252). As this old code looks like copy pasted over and over, can we find other occurrences using some regex searches?
Backport or not? |
I would backport as it looks pretty safe, though I doubt we have anyone using this postings format, so it likely doesn't matter much in practice. |
Merged.
I searched code with |
The we should move the changes entry. Do we have a corresponding 9.x section already? |
We already have a similar change entry for #13252 under 9.11.0, so we should move this change entry? |
Yes, let's merge them an list both PRs. |
Ok, I will do it. |
I merged them into one entry. |
Hmm, I also find some suffix's loop comparing in But, before that I find we attempt to load sub block when scanning a leaf block in |
I replaced loop compare suffixe with |
@jpountz It seems you implemented the same thing in |
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution! |
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution! |
Hello @jpountz , Please take a look when you get a chance. |
This PR has not had activity in the past 2 weeks, labeling it as stale. If the PR is waiting for review, notify the [email protected] list. Thank you for your contribution! |
Description
Description
This change similars to #13252.