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

Refactor Pedersen hash and add test case #568

Merged
merged 2 commits into from
Mar 27, 2024

Conversation

tcoratger
Copy link
Collaborator

Description

This pull request enhances the Pedersen hash implementation by making the following improvements:

  • Replaced the bools_to_usize_le function with a more efficient iteration over the slice of bool v, eliminating unnecessary overhead (no change in perf detected through benchmark).
  • Added an additional test case configuration for the Pedersen hash.

@xJonathanLEI
Copy link
Owner

Rebasing for CI.

Copy link
Owner

@xJonathanLEI xJonathanLEI left a comment

Choose a reason for hiding this comment

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

LGTM

@xJonathanLEI xJonathanLEI merged commit bf1f963 into xJonathanLEI:master Mar 27, 2024
26 checks passed
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