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

Interlace packet size info #100

Closed
LivInTheLookingGlass opened this issue Oct 12, 2016 · 1 comment
Closed

Interlace packet size info #100

LivInTheLookingGlass opened this issue Oct 12, 2016 · 1 comment
Assignees
Milestone

Comments

@LivInTheLookingGlass
Copy link
Collaborator

LivInTheLookingGlass commented Oct 12, 2016

This reduces the number of times you need to iterate over the received string.

It also means that data types headers could be added without a huge deal of added complexity.

So the new structure would be like:

  1. Header
  2. Size of packet 0
  3. Packet 0
  4. Size of packet 1
  5. Packet 1
  6. ...

Or in a scheme with data types

  1. Header
  2. Size of packet 0
  3. Type of packet 0
  4. Packet 0
  5. Size of packet 1
  6. Type of packet 1
  7. Packet 1
  8. ...
@LivInTheLookingGlass
Copy link
Collaborator Author

LivInTheLookingGlass commented Nov 15, 2016

Working on first proposal. Second proposal will get its own issue at some point.

Current status:

  • Python
  • C (in progress)
  • Javascript
  • Java
  • Go (sadness)
  • Smalltalk (partial)

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