-
Notifications
You must be signed in to change notification settings - Fork 8
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
Ref: poly (de)compress: use a single loop counter #23
Ref: poly (de)compress: use a single loop counter #23
Conversation
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.
There was a small increase in the cycle count (not expected but it was happening consistently) so I took a deeper look.
What do you think about integrating the changes from here: formosa-crypto/libjade@bb8569c
The performance is the following (i7 11700K) (libjade commits):
## before (@ commit 76e3b53c827d32eb62aeca05f668d8fa58467b5f)
keypair , 301830, 301768, 301834
enc , 352738, 352580, 352722
dec , 424528, 424658, 424658
## after (this PR) (@ commit dd636716b7fe4f342c81276ea01f3c0afc1d0089)
keypair , 302338, 302270, 302212
enc , 352902, 353038, 353100
dec , 424964, 425180, 425036
## after scheduling (@ commit bb8569c01597338148800210de5aa2b512f783c6)
keypair , 301910, 301872, 301918
enc , 351928, 352028, 352158
dec , 424186, 424290, 424276
Thanks, I’ll do it ASAP. |
Co-authored-by: Tiago Oliveira <[email protected]>
9827d66
to
27d9a26
Compare
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.
Awesome!
CI: https://github.com/vbgl/hakyber/actions/runs/7845618780