godot-monke-net
godot-monke-net copied to clipboard
Reduce allocations, Remove GetNode(), Consolidate ImGui
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