-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore: added simple benchmarks and tooling #100
base: main
Are you sure you want to change the base?
Conversation
let c = a - b; | ||
} | ||
|
||
fn bench_mul<let N: u32, BN>(a: BN, b: BN) |
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.
I'm not clear on why we need these functions rather than putting the arithmetic directly inside the #[export] functions?
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 these, it doesn't matter much I guess, but I thought it might be a good framework for more complicated functions.
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.
wonder if this introduces unnecessary memory gates for bb though.
Description
Problem*
Resolves
Summary*
Additional Context
PR Checklist*
cargo fmt
on default settings.