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

Improve varlen encoding of BufferBackend #64

Merged
merged 6 commits into from
May 1, 2024

Conversation

Robbepop
Copy link
Owner

@Robbepop Robbepop commented May 1, 2024

Unlike #51 this does not change the encoding of string lengths however it further improves the common cases of strings with string.len <= 254 with simply #[inline] and #[cold] attributes mostly.
Benchmarks show significant improvements for resolve and iter:

image

image

@Robbepop Robbepop merged commit 9043aaf into master May 1, 2024
15 of 16 checks passed
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