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

Reduce garbage produced every update #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jun 24, 2023

  1. reduce the garbage produced every update

    cache ControllerButton.values() and ControllerAxis.values() to prevent creating garbage
    also axis values are no longer boxed into Float objects every update
    klianc09 committed Jun 24, 2023
    Configuration menu
    Copy the full SHA
    6c8eed0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    114d6a5 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2023

  1. add comment to explain why these constants were introduced

    also use the constants instead of ControllerButton.values() consistently throughout the file
    klianc09 committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    8072235 View commit details
    Browse the repository at this point in the history