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

Deserialization from ValueRef<'a> #117

Closed
3Hren opened this issue Mar 20, 2017 · 0 comments
Closed

Deserialization from ValueRef<'a> #117

3Hren opened this issue Mar 20, 2017 · 0 comments

Comments

@3Hren
Copy link
Owner

3Hren commented Mar 20, 2017

There is a proposal in serde-rs/serde#492, that allows to deserialize into &str and &[u8]. That fits ideally for ValueRef, which also borrows its data from the buffer from which it was created. The only allocations will do after that - for stack management (can be eliminated partially using SVO).

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

No branches or pull requests

1 participant