Exploring Spannable Performance

1 · Daniel Lew · Aug. 30, 2018, 1:17 p.m.
I've been working on a new markdown handler for Trello Android. It uses commonmark-java to parse an abstract syntax tree, which is then converted into a single, complex Spannable. That Spannable is constructed piece-by-piece from the AST, so it involves a lot of appending text and setting spans. My first...