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

Packets sent between nodes get larger every iteration #6

Open
AMasetti opened this issue Oct 18, 2022 · 0 comments
Open

Packets sent between nodes get larger every iteration #6

AMasetti opened this issue Oct 18, 2022 · 0 comments

Comments

@AMasetti
Copy link

After the packets are received by a node the otherValues variable gets flooded with lots of repeated messages with the same info. This obviously isn't the final code displayed in the ReadMe.md. Multiple unused global variables which are constantly modified yield this erratic behavior.

Possible changes to make the code faster:

  • Implement a Queue for messages
  • Remove code that isn't used anymore
  • Correctly set the destination in code, a Mesh is a Mesh because one to many communication
  • Implement a buffer of messages that does not repeat itself after each iteration
  • Remove the synch messages since we can already add nodes if a new valid message is received

I really appreciate this project, and I'm willing to help if needed, keep it up guys!

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