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

Performance improvements #35

Merged
merged 2 commits into from
Sep 23, 2024
Merged

Performance improvements #35

merged 2 commits into from
Sep 23, 2024

Conversation

runeharlyk
Copy link
Owner

Purpose

Adds small changes resulting in some major performance boost.

By using uint8 over int, we got a small improvement ~5% and by using a tuple of the flatten rotation, instead of a stringified version we got a total of ~64 % improvement in gameplay.

This improvement should be visible when using DQN as it very gameplay heavy to train

@runeharlyk runeharlyk merged commit 0c52fb9 into main Sep 23, 2024
1 check passed
@runeharlyk runeharlyk deleted the performance branch September 23, 2024 17:27
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.

1 participant