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

arithmetic internals: Iterate over slice in Rust for even/zero checks. #2279

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

briansmith
Copy link
Owner

No description provided.

@briansmith briansmith self-assigned this Jan 24, 2025
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.76%. Comparing base (3c5946f) to head (07b4194).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2279   +/-   ##
=======================================
  Coverage   96.75%   96.76%           
=======================================
  Files         171      171           
  Lines       20873    20867    -6     
  Branches      488      487    -1     
=======================================
- Hits        20195    20191    -4     
+ Misses        573      572    -1     
+ Partials      105      104    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@briansmith briansmith force-pushed the b/limbs-size_t branch 2 times, most recently from 8490c7e to 5bc94d2 Compare January 24, 2025 01:01
(We still need `LIMBS_are_zero` because it is used from C code.
Rewrite it to use the same algorithm as the Rust equivalent.)

This eliminates a pair of calls to pointer-taking C functions.
@briansmith briansmith merged commit 200903a into main Jan 24, 2025
169 checks passed
@briansmith briansmith deleted the b/limbs-size_t branch January 24, 2025 01:47
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