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

Support in-place deserialization in StreamDeserializer #1156

Open
SUPERCILEX opened this issue Jul 21, 2024 · 0 comments
Open

Support in-place deserialization in StreamDeserializer #1156

SUPERCILEX opened this issue Jul 21, 2024 · 0 comments

Comments

@SUPERCILEX
Copy link

When streaming objects with Strings for example, it would be nice to be able to reuse the object instead of repeatedly allocating/deallocating. I don't think this can be made to work with the current StreamDeserializer API so it would need some sort of in-place variant that returns an &mut T instead of T.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant