Use `Vec` instead of `SmallVec` for `glyphs` field of `ShapedRun` (#30664)
This glyphs field is usually larger than 8 elements, and SmallVec is not
efficient when it cannot store the value inline.
This change also adds precise glyphs run preallocation in some places
`ShapedRun` is constructed.
Release Notes:
- N/A
25cc05b45cMichael Sloan committed on 5/14/2025, 7:02:38 AM· committed by GitHubparenta4766e2