mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Heap allocation is extremely expensive on Android. We can speed up the stroke tessellation by allocation a large arena and using that to write vertices. If the vertices would overflow, we switch to a dynamically allocated vector.