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

Try to avoid an allocation for struct keys #37

Merged
merged 3 commits into from
Feb 18, 2022
Merged

Conversation

mitsuhiko
Copy link
Owner

@mitsuhiko mitsuhiko commented Feb 17, 2022

This avoids boxing the key for structs during serialization. There might be better ways to do this later that does not involve managing so many vectors there and blowing up the size of the SerializableOnStack significantly.

Refs #34

@mitsuhiko mitsuhiko merged commit 37b8fd5 into main Feb 18, 2022
@mitsuhiko mitsuhiko deleted the feature/borrow-key branch February 18, 2022 23:53
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