You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Builder & Strategy Pattern (BlocklistCompiler::with_capacity): Pre-sizes HashSet & Vec to 300,000+ capacity across homeshield-daemon and homeshield-cli compile, eliminating repeated O(n) rehashing on embedded ARMv7 and CI builds.
Flyweight Pattern (Arc<HashSet<String>>): Shares immutable whitelist via BlocklistCompiler::with_shared_whitelist for zero-clone CDN fallback rebuilds.
Cache-Aside Pattern (domain_count Sidecar): Writes verified unique domain count during do_update() so do_status() reads in O(1) without scanning 8 MB+ hosts files (reporting 0 cleanly when PAUSED).
Buffer Reuse Pattern & 128 KB Streaming I/O: Upgraded file_len_and_fnv1a, write_hosts, write_dual_stack_hosts, apply_hosts, ensure_base_hosts, and fallback count_blocked_v4_domains to 128 KB buffers and single reused String line buffers (eliminating 600k+ heap allocations).
Single-Pass Visitor Pattern (/proc scan): Added SystemOps::find_any_process_pids to locate resident daemon processes in 1 /proc directory walk instead of 3.
Scatter-Gather Pattern (JoinSet LAN Probe): Parallelized ADB port 5555 discovery across all LAN DHCP/ARP leases (~800 ms total instead of N × 800 ms sequentially).
🌐 Universal IoT & Device Telemetry Blocking (29 Live Feeds)