Skip to content

perf: swap isDone and matchesStack checks - #582

Open
Vonr wants to merge 2 commits into
TeamDman:1.19.2from
Vonr:perf/swap
Open

perf: swap isDone and matchesStack checks#582
Vonr wants to merge 2 commits into
TeamDman:1.19.2from
Vonr:perf/swap

Conversation

@Vonr

@Vonr Vonr commented Aug 1, 2026

Copy link
Copy Markdown
image

a and b are double chests each with 45 stacks of deepslate coal ore

  • pre-patch: about 0.32ms
  • post-patch: about 0.2ms

not 100% confident in those statistics (please we need better stats)

also not 100% confident in behaviour staying the same but as far as im concerned, matchesStack shouldn't have any meaningful side effects

@TeamDman TeamDman added this to the v4.35.0 milestone Aug 1, 2026
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.

2 participants