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

Chunk & Entity improvements #231

Draft
wants to merge 6 commits into
base: ver/1.21.4
Choose a base branch
from
Draft

Conversation

Taiyou06
Copy link
Collaborator

@Taiyou06 Taiyou06 commented Feb 16, 2025

Goal of this PR is to implement, "missing" optimizations that we haven't done.

  • Optimize isChunkNearPlayer (Impact: Medium/High)
  • Don't grow the array in collectTickingChunks (Impact: Low)
  • Optimize getSlopeDistance using BFS and other means (Impact: Medium/High)
    - [ ] Optimize getEntities (Impact: High)
  • Optimize AABB calculations (Impact: Low)

Feel free to test the PR using action builds and report any regression/issue!

@Dreeam-qwq Dreeam-qwq added the type: optimization Pull request for optimization label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: optimization Pull request for optimization
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants