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

Support vector clock formatted as a (Json) array #180

Open
lemmy opened this issue Jan 31, 2023 · 0 comments
Open

Support vector clock formatted as a (Json) array #180

lemmy opened this issue Jan 31, 2023 · 0 comments

Comments

@lemmy
Copy link
Contributor

lemmy commented Jan 31, 2023

Algorithms typically identify nodes with natural numbers between 0 to N-1. In other cases, identifies might still be under a total order. In these cases, a JSON array lends itself as the representation of the vector clock, i.e., [0, 42, 23] rather than the redundant and more verbose {"0": 0, "1": 42, "2": 23}.

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

No branches or pull requests

1 participant