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

Optimize note_type_id to use 7 bits #10968

Closed
wants to merge 1 commit into from

Conversation

crStiv
Copy link

@crStiv crStiv commented Dec 25, 2024

Fixes #10952

  • Optimized the size of NoteTypeId to 1 byte (7 bits)
  • Added value validation
  • Implemented serialization/deserialization
  • Added tests

@Maddiaa0 Maddiaa0 closed this Dec 31, 2024
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.

Optimize encoding of note_type_id such that it occupies 7 bits.
2 participants