-
Notifications
You must be signed in to change notification settings - Fork 22
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
mod intra_edge
: Backport memory reduction from dav1d 1.2.1
#830
Conversation
Reduces the table size by around 3 kB.
Relates to #286 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good except for some minor style/consistency nitpicks
Remove `EDGE_` prefix from constant names and use `EdgeFlags::union_all` in conjunction with constants.
Thanks for the feedback. I made the suggested changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly looks very good, but I had a few more suggestions. Also, by using 2-byte EdgeIndex
s instead of 8-byte pointers, our table should be even smaller than C's 🎉 .
Eliminate duplicate and constant
intra_edge
table entries