-
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!:
Integer
as enum type and optimized constrained and variable-…
…sized integer encoding (#289) * Initial working version for optimized integer encoding * Add int bench * OER: Reduce integer-related allocations * Add some docs, typo fixes * Fix jer integer encoding * Fix integer encoding of unsigned as signed bytes, cleanup * PER: reduce unwraps on integer encoding * Initial adjusted version * Fix jer integer encoding * OER: remove unnecessary use of custom to_vec method on BitVec * Integer types cleanup * Impl Encode for BigInt, clippy fixes, custom PartialEq * Bug fixes, clippy, associated UnsignedPair and SignedPair types * Docs * Unnecessary full type in Decode for ConstrainedInteger * Add extra integer tests * All int bench tests * PER: explicit usize decoding for choice * Remove unnecessary parentheses * Inline some core functions of IntegerType trait * PER: parse integer small optimization * Make constraint minimum copy explicit * One clone less in constraints * More integer tests
- Loading branch information
Showing
21 changed files
with
1,515 additions
and
503 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.