Commit 252a926fbfc1167c81b9a82bdb3caf2f0d90f8c8

Garret Rieger 2024-03-08T19:46:48

[repacker] Rework how ClassDef sizes are estimated during splitting. The old approach considered only one class at a time, which in some cases can generate the wrong answer. This change updates the estimation to consider how all classes in the current split would end up encoded in a single ClassDef table. Additionally compute whether glyphs are consecutive only for the current split (instead of the fully mapping).