top of page
FlutterCon_icon_turned.png
FlutterCon_logo.png

Rohan Joshi

Senior Mobile Engineer @ Tide
greg-fawson-foto.1024x1024 Kopie.jpg

Rohan is a mobile engineer with extensive experience in developing and scaling end-to-end applications for unicorn startups. He has successfully transformed ideas into high performance apps, achieving millions of downloads. Rohan brings in hands-on knowledge and real-world insights in space of mobile development.

The Cost of a Character: Scaling Text Parsing and Caching in Chat Feeds

Text rendering is one of the most deceptively heavy operations in the Flutter framework. When processing formatted strings inside high-velocity scrolling feeds like chat interfaces or real-time dashboards, continuously parsing tokens and rebuilding nested RichText components creates massive layout overhead, spikes heap allocations, and causes noticeable UI micro-stutter.

This session breaks down the journey of building an open-source text-formatting utility from the ground up for its v3 architecture. We will analyse the trade-offs of moving away from expensive cascading regular expressions toward a highly efficient, single-pass linear scanner operating at O(N) scale. More importantly, we will dissect how implementing an internal token and layout memoization cache layer allows your application to bypass the rendering pipeline entirely during widget lifecycle updates.

bottom of page