TGViewer
Project X Channel Project X Channel @projectxtls · 29.9K subscribers
Post #3559 1.27K

Forwarded from GitHub

💬 New comment on Xray-core#6821 Geodata: Reduce MPH matcher runtime memory usage
by @RPRX

> on Loyalsoldier's geosite.dat category-ads-all now retains 14.4 MiB in under 300 objects instead of 32.2 MiB in 636k, and with ads-all, cn and geolocation-!cn loaded a forced GC takes 0.3 ms instead of 9-10 ms at GOMAXPROCS=2. build time and lookups on these lists are the same, the new differential test compares against a map over all short inputs

~~这个 PR 很猛啊~~

事实上对于索引 Geodata 这种常驻内存的静态数据集,本来就应该这么设计,在“decompress 程度”和"索引速度"间找个平衡点

~~所以其实我感觉还能进一步降低内存占用~~

Reply to this message to post a comment on GitHub.
  • 👍 5
  • 🏆 5
  • 😁 3
  • 💅 1
More from @projectxtls
  1. Sep 28, 2026💬 New comment on Xray-core#6823 feat(dns): add Lua scripting for DNS queries by @RPRX NEX…
  2. Sep 28, 2026💬 New comment on Xray-core#6834 Suppress outer CloseNotify for XTLS by @RPRX 似乎同时又解决了一个特征…
  3. Sep 28, 2026💬 New comment on Xray-core#6797 XHTTP: xmux.maxConnections is ineffective in Go 1.27 buil…
  4. Sep 28, 2026💬 New comment on Xray-core#6454 tun模式存在dns泄漏 by @RPRX https://github.com/XTLS/Xray-core/p…
  5. Sep 28, 2026💬 New comment on Xray-core#6844 Proxy: Add MASQUE inbound (IETF CONNECT-IP server, RFC 94…
  6. Sep 28, 2026💬 New comment on BBS#44 墙的倒掉,已经进入按天的倒计时? by @RPRX > 但是从一个开发突破信息封锁工具的开发者口中说出来还是略感失望,尤其是在rp…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →