Skip to content

Performance improvements Base32#188

Merged
05nelsonm merged 2 commits intomasterfrom
performance/base-32
Nov 3, 2025
Merged

Performance improvements Base32#188
05nelsonm merged 2 commits intomasterfrom
performance/base-32

Conversation

@05nelsonm
Copy link
Copy Markdown
Owner

  • Removes use of FeedBuffer from Base32 decoding/decoding
  • Optimizes Base32 encoding by referencing character table constants directly via new EncoderFeed abstraction

@05nelsonm 05nelsonm self-assigned this Nov 3, 2025
Copy link
Copy Markdown
Owner Author

@05nelsonm 05nelsonm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.

@05nelsonm
Copy link
Copy Markdown
Owner Author

When comparing before/after benchmarks, it looks like encoding improved on all platforms by about 1.5x, and a slight improvement to decoding.

@05nelsonm 05nelsonm merged commit ca2d0cb into master Nov 3, 2025
12 checks passed
@05nelsonm 05nelsonm deleted the performance/base-32 branch November 3, 2025 23:00
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.

1 participant