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

Better List serialization #25

Merged
merged 1 commit into from
Jun 12, 2021
Merged

Better List serialization #25

merged 1 commit into from
Jun 12, 2021

Conversation

joonazan
Copy link
Contributor

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.

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
Copy link
Member

paulgb commented Jun 12, 2021

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.

@paulgb paulgb merged commit 1262c96 into jamsocket:main Jun 12, 2021
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.

2 participants