Syntax tokenization and theme application.
The crate keeps expensive work in the load/compile path. TextMate grammars compile into Oniguruma regex sets, JSON uses a dedicated lexer, scope names are interned, and the hot line APIs write into caller-owned buffers so editors and pagers can reuse allocations.