-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
345: Avoid 64-bit arithmetic in LEB encoding r=Lotterleben a=jonas-schievink Fixes #75 This uses `usize` instead of `u64` in `leb64`, which is now possible since timestamps aren't hard-coded to LEB64-encoded-`u64` anymore. Before: ``` text data bss dec hex filename 32084 0 8 32092 7d5c ../../target/thumbv7m-none-eabi/release/log ``` After: ``` text data bss dec hex filename 31876 0 8 31884 7c8c ../../target/thumbv7m-none-eabi/release/log ``` So, ~200 bytes of code saved. Co-authored-by: Jonas Schievink <jonasschievink@gmail.com>
- Loading branch information
Showing
2 changed files
with
25 additions
and
13 deletions.
There are no files selected for viewing
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