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

perf: Improve the lattice reduction performance #35

Open
3 tasks
Yawning opened this issue Mar 16, 2021 · 0 comments
Open
3 tasks

perf: Improve the lattice reduction performance #35

Yawning opened this issue Mar 16, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@Yawning
Copy link
Contributor

Yawning commented Mar 16, 2021

The lattice reduction implementation could likely be optimized further in the following ways:

  • Add a 32-bit backend (Low priority, the current code provides adequate performance)
  • Take a futher page out of curve9767's book and inline absolutely everything.
  • Assembly?

As a datapoint, in a branch a partial implementation (panics on edge cases) of a fully inlined version of the lattice reduction was faster, but I'm not sure if the unreadable mess I ended up with is worth a ~2% improvement in signature verification performance.

@Yawning Yawning added the enhancement New feature or request label Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant