-
Notifications
You must be signed in to change notification settings - Fork 148
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
Add quartic extension baby bear u32 #956
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #956 +/- ##
==========================================
+ Coverage 71.40% 71.49% +0.08%
==========================================
Files 155 156 +1
Lines 33574 33969 +395
==========================================
+ Hits 23975 24287 +312
- Misses 9599 9682 +83 ☔ View full report in Codecov by Sentry. |
math/benches/fields/baby_bear.rs
Outdated
let mut result = Vec::with_capacity(num); | ||
for _ in 0..result.capacity() { | ||
result.push((F::from(random::<u64>()), F::from(random::<u64>()))); | ||
} | ||
result | ||
} | ||
|
||
pub fn rand_field_elements_u64(num: usize) -> Vec<(F64, F64)> { | ||
let mut result = Vec::with_capacity(num); | ||
for _ in 0..result.capacity() { |
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.
for _ in 0..result.capacity() { | |
for _ in 0..num { |
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.
Solved in d021a1d
Add Degree 4 extension field for Baby Bear in u32
Description
In this PR we add the Degree 4 Extension Field for our version of Baby Bear in u32. We also add the benchmarks for both versions of this extension (u64 and u32).
Results for 1 million operations:
Type of change
Checklist