mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-04-25 15:52:08 +00:00
After the initial subpath index build, iterate and delete all entries where count==1. At scale, 60-70% of subpath keys are singletons that appear only once — they add no analytical value and consume significant memory (each entry is a string key + map bucket overhead). Newly-seen singletons during incremental ingest will remain in the index until the next restart. This is acceptable since singleton subpaths are noise for ranking/display purposes. Add a startup log line showing how many entries were kept vs dropped.