Skip to content

Optimise broadphase re-insertions#6809

Merged
metalgearsloth merged 2 commits into
space-wizards:masterfrom
metalgearsloth:2026-07-17-broadphase-reinsert
Jul 18, 2026
Merged

Optimise broadphase re-insertions#6809
metalgearsloth merged 2 commits into
space-wizards:masterfrom
metalgearsloth:2026-07-17-broadphase-reinsert

Conversation

@metalgearsloth

@metalgearsloth metalgearsloth commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

HUGE savings on PVS re-entry / movement for entities with lots of children, doesn't matter for anything else.

For 10 children it went from 1.89micro to 1.80micro, so a rounding error, but 100 went from 70micro to 30micro.

Avoids continuously iterating up. Big savings on any moving entities with many children (mostly mobs or fatter) but negligible for everything else.
@metalgearsloth
metalgearsloth merged commit 17224a8 into space-wizards:master Jul 18, 2026
6 of 7 checks passed
@metalgearsloth
metalgearsloth deleted the 2026-07-17-broadphase-reinsert branch July 18, 2026 01:07
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