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

Reduce allocations, Remove GetNode(), Consolidate ImGui #10

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

brogan89
Copy link

@brogan89 brogan89 commented Jul 18, 2024

This PR reduces allocations caused by LINQ lambda expressions.
Generally this is not too much of an issue, but for code that is executing a lot it causes extra garbage that you don't want hanging around. GC needs to work harder.

EDIT

Just added some more commits. They really should be different PRs but I just realised when I pushed it put them into this with one... oops.

Extra things

  • Remove GetNode calls in some places
  • Consolidated the ImGui drawing so its all in a single window

@brogan89 brogan89 changed the title Reduce allocations Reduce allocations, Remove GetNode(), Consolidate ImGui Jul 18, 2024
Repository owner deleted a comment from Kraloz Aug 21, 2024
Repository owner deleted a comment from Kraloz Aug 21, 2024
Repository owner deleted a comment from Kraloz Aug 21, 2024
Repository owner deleted a comment from Kraloz Aug 21, 2024
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.

1 participant