Hasty Briefsbeta

Bilingual

Brave overhauled its Rust adblock engine with FlatBuffers, cutting memory 75%

4 months ago
  • #Performance
  • #Adblock
  • #Brave
  • Brave has overhauled its Rust-based adblock engine, reducing memory consumption by 75%.
  • The upgrade saves roughly 45 MB of memory across all platforms (Android, iOS, desktop).
  • Performance improvements are live in Brave v1.85, with more optimizations coming in v1.86.
  • Memory savings achieved by refactoring the engine to use FlatBuffers, a compact storage format.
  • Additional optimizations include stack-allocated vectors, improved filter matching, and resource sharing.
  • Brave's native adblocking architecture avoids limitations of extension-based blockers and is unaffected by Manifest V3.
  • The update benefits over 100 million users with better battery life and smoother multitasking.