Skip to content

Conversation

@tildejustin
Copy link
Member

No description provided.

The custom hash table based implementation was not sound. This might also
fix a few issues with mod compatibility. Should still be faster than the
vanilla implementation, and it will significantly reduce the amount of code
we're maintaining.
@DuncanRuns
Copy link
Member

DuncanRuns commented May 21, 2024

Note: This commit added here recently fixes a client game freeze when joining a lan server with chunkumulator and the host increases/decreases render distance (confirmed by testing)

Since it's a jellysquid commit from 3 years ago and it reduces the amount of code sodium is responsible for, it is almost definitely good stuff so no review needed for the stuff in that commit.

Copy link
Member

@DuncanRuns DuncanRuns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR includes trustworthy jellysquid fixes. Game booted with jar and other mcsr mods on and is stable.
Regarding the attempt to fix deadlock, the comment's logic is sound and I think the worst case scenario is that the deadlock is replaced by another similar issue caused by the side effect of the skipping of the wait() (which logically shouldn't be a problem given the condition of the skip)

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.

3 participants