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

Optimize Vec::deserialize_in_place to deserialize elements in place #1411

Merged
merged 1 commit into from Oct 14, 2018
Merged

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Oct 14, 2018

Before, Vec::deserialize_in_place would preserve the allocation of the Vec but not allocations within any of the elements. Now it preserves both.

@dtolnay dtolnay merged commit 59c8951 into serde-rs:master Oct 14, 2018
@dtolnay dtolnay deleted the vec branch October 14, 2018 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant