jamsocket / aper

A Rust data structure library built on state machines.
https://aper.dev
MIT License
299 stars 12 forks source link

Better List serialization #25

Closed joonazan closed 3 years ago

joonazan commented 3 years ago

Serialize List as (ZenoIndex, Uuid, T)-tuple instead of serializing each map. This reduces its size and gets rid of the problem that Lists couldn't be serialized into JSON.

paulgb commented 3 years ago

Thanks for this! The code looks good to me and this change will also enable #9. I’ll add a test of deserialization and merge it.