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

Use faster division for matrix construction #254

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

klauspost
Copy link
Owner

As note by @cristaloleg in #253 the first parameter is always 1 in uses of galDivide.

Implement a galOneOver that uses this fact and replace galDivide.

Make expTable fixed size and cast to uint8 to avoid bounds check on use.

As note by @cristaloleg in #253 the first parameter is always 1 in uses of `galDivide`.

Implement a `galOneOver` that uses this fact and replace `galDivide`.

Make `expTable` fixed size and cast to uint8 to avoid bounds check on use.
@klauspost klauspost merged commit b8dc407 into master Sep 27, 2023
13 checks passed
@klauspost klauspost deleted the faster-galdivide branch September 27, 2023 09:56
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