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

add decode_len and decode_len_unsafe and update dependencies #5

Merged
merged 4 commits into from
Dec 29, 2023

Conversation

JojiiOfficial
Copy link
Contributor

@JojiiOfficial JojiiOfficial commented Dec 28, 2023

As the title says. Adds decode_len and decode_len_unsafe to only get the length of the next varint in a slice. This can be used to faster find a given number in a buffer of encoded varints.

@as-com as-com merged commit 601f307 into as-com:master Dec 29, 2023
10 checks passed
@as-com
Copy link
Owner

as-com commented Dec 29, 2023

Thanks for the PR!

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