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 u32 for Element IDs instead of u64 #113

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

FreezyLemon
Copy link
Contributor

@FreezyLemon FreezyLemon commented Apr 1, 2023

Closes #110. Mostly signature changes. The vid_size function broke so I rewrote it. We can now take advantage of the 4-octet maximum, because the first byte with any bit set to one now signals the size of the ID. Also looks like cookie_factory has some new functions and macros that are a bit more ergonomic than the legacy stuff.

@lu-zero
Copy link
Member

lu-zero commented Apr 1, 2023

Looks good.

@lu-zero lu-zero merged commit e02b17b into rust-av:master Apr 1, 2023
@FreezyLemon FreezyLemon deleted the elem-id-u32 branch April 1, 2023 21:29
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.

Element IDs can (probably) be downsized from u64 to u32
2 participants