-
Notifications
You must be signed in to change notification settings - Fork 35
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
Dev/optimize merkle root #227
Dev/optimize merkle root #227
Conversation
Jeanmichel7
commented
Sep 26, 2024
Test | Before | After |
---|---|---|
full_169 | 134001057 | 113894412 |
full_757738 | 9372119456 | 6850847496 |
…into feat/unefficient_cairo_code_save_merkle_root
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Why you don't use Box<Digest>
instead of Box<[u32;8]>
?
Because the hash return is Box::<[u32,8]>, I've tried it, and the performance loss is very small 6851088696 instead of 6850847496 |
We cannot use sha256 syscall from Starknet |
That's right..., I'll have to see how I can use the local sha256. |