Skip to content

optimize glue selection computation#10347

Open
rhysdh540 wants to merge 1 commit into
Creators-of-Create:mc1.21.1/devfrom
rhysdh540:mc1.21.1/fast-glue
Open

optimize glue selection computation#10347
rhysdh540 wants to merge 1 commit into
Creators-of-Create:mc1.21.1/devfrom
rhysdh540:mc1.21.1/fast-glue

Conversation

@rhysdh540
Copy link
Copy Markdown

partial successor to #6229

problems/fixes:

  • flood fill was using an ArrayList as a queue, which makes the bfs degrade towards quadratic time. replaced with an ArrayDeque
  • scanning for entities in a much larger space than necessary for edge test
  • cluster outline being rebuilt every frame; instead calls Outliner.getInstance().keep now
  • server-side handler rebuilt the entire block set; now just confirms reachability

@VoidLeech VoidLeech added the pr type: feature PR adds a new feature or changes an existing feature label May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr type: feature PR adds a new feature or changes an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants