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

enum CfSelect: Optimize some checks and make offsets u32s #1258

Merged
merged 8 commits into from
Jul 1, 2024

Conversation

kkysen
Copy link
Collaborator

@kkysen kkysen commented Jun 28, 2024

I forgot to open this PR earlier. This optimizes some CfSelect uses and makes its offset, as well as the offsets in Rav1dTileState_frame_thread u32s instead of usizes, saving space, prohibiting overflows on multiplications, and reducing stack usage a bit.

@kkysen kkysen requested a review from randomPoison June 28, 2024 00:59
@kkysen kkysen requested a review from rinon June 30, 2024 22:59
@kkysen kkysen force-pushed the kkysen/enum-CfSelect-optimize branch 2 times, most recently from 7065142 to 6155d6b Compare July 1, 2024 19:21
@kkysen kkysen force-pushed the kkysen/enum-CfSelect-optimize branch from 6155d6b to 810942f Compare July 1, 2024 19:24
@kkysen kkysen merged commit d98a9c0 into main Jul 1, 2024
26 checks passed
@kkysen kkysen deleted the kkysen/enum-CfSelect-optimize branch July 1, 2024 21:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants