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

Refactored input batching and input submission #307

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

TheYellowArchitect
Copy link
Contributor

@TheYellowArchitect TheYellowArchitect commented Oct 16, 2024

It has been the established convention for all _states and _ticks and basically property dictionaries to be in the format of [tick][property]
Input batching/redundancy is the only property dictionary which instead works with [property][tick].

With this PR, it now works like the rest ([tick][property]) and it should be easier to read, and also improves performance as well because inputs are cached in _batched_inputs_to_broadcast

Edit: Give me a day or two to stress-test this, because I see some jitter in 200ms and want to confirm this didn't exist in main branch

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