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

Improve performance of chunk saving #64

Closed

Commits on Jul 10, 2024

  1. cache immutable hashCode of block state

    performance improvement: calculate each value only one time at game start-up
    should speed-up MixinBlockStateContainer#reid$newGetDataForNBT at stateIDMap
    hohserg1 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    0e654a4 View commit details
    Browse the repository at this point in the history
  2. reduce hashCode collisions

    Common case: block with no properties. Single blockstate of such blocks have same hashCode at all.
    hohserg1 committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    4f1e3b2 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. review fixes

    hohserg1 committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    5fef515 View commit details
    Browse the repository at this point in the history