Bound better the loop size for the estimator to increase the shift#191
Open
ameligrana wants to merge 3 commits into
Open
Bound better the loop size for the estimator to increase the shift#191ameligrana wants to merge 3 commits into
ameligrana wants to merge 3 commits into
Conversation
Benchmark Results
Benchmark PlotsA plot of the benchmark results have been uploaded as an artifact to the workflow run for this PR. |
Collaborator
Author
|
This seems an improvement to me. |
LilithHafner
left a comment
Owner
There was a problem hiding this comment.
Almost all of our benchmarks that hit this line are on small weight vectors with low m[4], so those benchmarks over-represent the improvement of this PR. That said, I doubt it's a meaningful regression on large samplers. So performance wise LGTM.
If we're tightening this bound, I would like to see a test that stresses it (e.g. one that fails if that +1 is missing but passes with the +1) and while making that test, of course, if you find one that requires +2 then that's an issue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This should be okay since
significand_sum_hi < group_length <= m[4]