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

Ref: poly (de)compress: use a single loop counter #23

Conversation

vbgl
Copy link
Contributor

@vbgl vbgl commented Feb 9, 2024

@vbgl vbgl requested a review from tfaoliveira February 9, 2024 14:50
tfaoliveira added a commit to formosa-crypto/libjade that referenced this pull request Feb 9, 2024
tfaoliveira added a commit to formosa-crypto/libjade that referenced this pull request Feb 9, 2024
Copy link
Member

@tfaoliveira tfaoliveira left a 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

@vbgl
Copy link
Contributor Author

vbgl commented Feb 9, 2024

Thanks, I’ll do it ASAP.

@vbgl vbgl force-pushed the ref-poly-compress-decompress-onecounter branch from 9827d66 to 27d9a26 Compare February 9, 2024 17:55
Copy link
Member

@tfaoliveira tfaoliveira left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@tfaoliveira tfaoliveira merged commit 944d6ff into formosa-crypto:master Feb 9, 2024
2 checks passed
@vbgl vbgl deleted the ref-poly-compress-decompress-onecounter branch February 10, 2024 01:39
Rixxc pushed a commit to formosa-crypto/libjade that referenced this pull request Apr 17, 2024
Rixxc pushed a commit to formosa-crypto/libjade that referenced this pull request Apr 17, 2024
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.

2 participants