-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Implement a customizable tick rate to improve perf (closes #255). #258
Conversation
Minor mistake, I think this should fix it. |
Could you add unit tests for this? |
Done, let me know if these are cool or if you need more. I also added reports/ to .gitignore but if that breaks e.g. CI I can rebase it out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm.. chmodded it to make it executable. Do you want to leave it non-executable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nevermind - my Github showed it as 'new empty file added'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Description
Simple implementation to solve #255 and greatly improve performance. The default remains at 1 because changing it is likely to break scripts that e.g. make agents move every tick.
edit closes #255