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

Alloc-ser #15

Merged
merged 3 commits into from
Oct 28, 2021
Merged

Alloc-ser #15

merged 3 commits into from
Oct 28, 2021

Conversation

wada314
Copy link
Owner

@wada314 wada314 commented Oct 28, 2021

Integrate the serializer for simple and single_field impls, allow to use heap memory to improve the performance.
The no-alloc version of serializer (the old version) had a problem on performance (it needed to serialize twice the length-delimited fields to calculate the encoded length), and was blocked by this Rust lang issue:
rust-lang/rust#89196

@wada314 wada314 merged commit 840b1d7 into master Oct 28, 2021
@wada314 wada314 deleted the alloc-ser branch October 28, 2021 08: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.

1 participant