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

Port to std::span -based API, avoid *raw* pointer(s) #23

Merged
merged 12 commits into from
Dec 3, 2023

Conversation

itzmeanjan
Copy link
Owner

@itzmeanjan itzmeanjan commented Dec 1, 2023

  • Avoid raw pointer+length based interfaces, instead rewrite using statically typed std::span based interfaces
  • Update usage examples, benchmark results etc.

@itzmeanjan itzmeanjan self-assigned this Dec 1, 2023
@itzmeanjan itzmeanjan merged commit 3fe6ab6 into master Dec 3, 2023
2 checks passed
@itzmeanjan itzmeanjan deleted the use-std-span branch December 3, 2023 16:37
@itzmeanjan
Copy link
Owner Author

This patch reduces the performance of all functions (keygen, sign and verify) by an average of ~8%.

Screenshot from 2023-12-03 20-52-09

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.

1 participant