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

Varuint optimization #682

Merged
merged 3 commits into from
Nov 17, 2023
Merged

Varuint optimization #682

merged 3 commits into from
Nov 17, 2023

Conversation

zslayton
Copy link
Contributor

@zslayton zslayton commented Nov 17, 2023

Optimizes reading VarUInts that are 1 or 2 bytes long. Also adds a binary 1.0 flavor of the existing read_many_structs benchmark.

Benchmark Before After
Binary 1.0/scan all 843.74 us 776.22 us
Binary 1.0/read all 16.366 ms 15.391 ms

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@zslayton zslayton marked this pull request as ready for review November 17, 2023 17:50
@zslayton zslayton merged commit e6fd421 into main Nov 17, 2023
20 checks passed
@zslayton zslayton deleted the varuint-optimization branch November 17, 2023 17:51
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.

2 participants