mitsuhiko / deser

Experimental rust serialization library
https://docs.rs/deser
Apache License 2.0
289 stars 8 forks source link

Try to avoid an allocation for struct keys #37

Closed mitsuhiko closed 2 years ago

mitsuhiko commented 2 years ago

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