branchrust_reboot/main/hackweek_iorewritecancel
7 Commits over 0 Days - Infinitycph!
switch out batched packet send storage for HashSet to avoid multiple sends from an entity within a circuit tick
moved SendBufferedFlagChanges outside of circuit loop
using HasSubscribers method instead of manual check
skip sending batched packets to groups with no subscribers
SimpleLight sends on/off flags through batched system
added BatchedEntityFlags packet type
- allows IOCircuitSystem to buffer entity flag changes from IOEntities and send batched packets instead of per-entity packets
- test setup with 2000 lights goes from 26ms to <2ms on the server