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

static wedge_masks_*: Move the array length multiplication to outer arrays #464

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

kkysen
Copy link
Collaborator

@kkysen kkysen commented Sep 18, 2023

This simplifies the code a lot (as the multiplications are now done by the compiler) and also more easily tells the compiler that the inner arrays are exclusive (so we can have multiple &muts). It also makes the length of the slices clear, and also doesn't actually do any slicing (which can't be done in const fns).

Base automatically changed from kkysen/static-dav1d_ii_masks-no-option to main September 19, 2023 01:37
@kkysen kkysen merged commit f4f26c9 into main Sep 19, 2023
16 checks passed
@kkysen kkysen deleted the kkysen/static-wedge_masks-divide branch September 19, 2023 01:37
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