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

Create a lightweight dot serialization #25

Open
ivan1993spb opened this issue Feb 1, 2019 · 1 comment
Open

Create a lightweight dot serialization #25

ivan1993spb opened this issue Feb 1, 2019 · 1 comment
Assignees

Comments

@ivan1993spb
Copy link
Owner

ivan1993spb commented Feb 1, 2019

Create a lightweight dot serialization.

Use bit operations to serialize a dot instead of a representation of a dot as an array json.

[x,y] // now
zzz // want

MarshalJSON:

uint16(d.X)<<8 | uint16(d.Y)
@ivan1993spb ivan1993spb self-assigned this Feb 1, 2019
@ivan1993spb
Copy link
Owner Author

Think about a binary protocol... It would be better than such a serialization

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

No branches or pull requests

1 participant