branchrust_reboot/main/triggerparentdelayedexit_optim/opt_triggerparent_timeslicecancel
5 Commits over 0 Days - ∞cph!
▅ ▍▌▉▊▋▋ ▄▅▇▍▅ ▄█▌▆▆▊▆▌ █▋ ▇▇▌▇██▅▄▇▇▇▊▆▆▆▋▍▋▍▌ ▊▋▆ ▌▍▅▌▋▌ ▍▆█ ▉█▊▉▋▆▇ ▇▌▄▄▊▌▇▆▊▍█▊▉▌▉▄▉▄▍█▇▉█▆ █▄ ▌▄▌ ▊▋▄▋ ▇▊▄ ▉▋▉▄▉▍▆▋▇▇ ▊▉▄ ▇▄█▋▌▍▋▇▌▊ ▊▄▇ ▇▍▆█▌▅▆▉▉▌▉▍▌█▇▋▌▄▇▆▄█▉▇▇▍█▍▊▊▄▍▄▆▉▆▉▍██▇█▌▆▌▋▄▉▇▊▍▉ ▆▋▆▌▇ ▌▄▍ ▋▇▌▌▋▉▍▉▌▅▅▍▊▌▍▉▊▇█▊▌▌▉▄▋ ▉▋▆▄▊▌▊▌█▋▄▊ ▄█▇▋█▊ ▆ █▍▌▇ ▋▊▆▄ ██▄ ▌▋▋▄▅ ▋▋▉▆ ▆▉ ▅▆▅▍▍▊ ▍▄▌█▆▇▊▋▋█ █▇█▌▆▇ ▇▌ ▆▌▍ ▆▉▄▌█▄ ▌ ▌▊▅ ▌▋▉▄▇▊▊▊█▄ ▇█ ▇▆▅ ▋▇▇▌▌ ▇▋▄ ▋▊█▋▉▌▆ ▋▍▄ ▆▊ ▊▌▋▌▊ ▋▆▋▌▉▋▆▌▋▊ ▊▉▍▌▌▅▊▌▇▍▌▄▋ ▅▆██▄▉▉ ▌▉█▅▄▅▍▆ ▅ ▍▆▍▌▆▊ ▆▍▆█▉▄
Update: reorder clipping entities check to fast-exit on corpses
Tests: none, trivial change
Clean: remove duplicate IsDestroyed check
It's already checked as part of ToBaseEntity and our caching Entity
Tests: none, trivial change
Optim: TriggerParent - cache ToBaseEntity calls
Best case they cost us a hash-lookup + alive checks, worst case - hierarchy traversal. We can make do with alive checks only.
Tests: built a boat and rode it, put it in edit and reconstructed a foundation
Update: don't requiry parent exclusion trigger
Tests: none, trivial change