mirror of
https://github.com/n0mjs710/HBlink4.git
synced 2026-11-08 04:19:26 +00:00
Major Performance Improvements: - Set-based TG storage for O(1) lookups (was O(n)) - Per-stream routing cache (calculate once vs per-packet) - 83% reduction in routing operations per stream New Features: - RPTO (Repeater Options) message handling - Dynamic TG configuration via RPTO (config is master) - Dashboard visual indicators for RPTO-supplied TGs - Real-time dashboard updates when RPTO received - Unregistered repeater NAK handling Testing: - 8 new routing optimization tests - Full test coverage for all optimization features - All 38 tests passing Technical Details: - RepeaterState: Added slot1_talkgroups/slot2_talkgroups as sets - RepeaterState: Added rpto_received flag - StreamState: Added target_repeaters cache and routing_cached flag - New _handle_options() for RPTO parsing and config intersection - New _calculate_stream_targets() for one-time routing calculation - Optimized _forward_stream() to use cached routing - Dashboard: Blue labels + tooltips for RPTO TGs