mirror of
https://github.com/2234839/web-font.git
synced 2026-07-02 05:38:25 +08:00
千字文 woff2(57168 点)profile 定位 transformGlyfAndLoca 热点: - 坐标解码 50/50 不可预测分支(正负 delta 各半)→ sign 位无分支乘法 - abs 三元 → Math.abs(V8 编译为 neg 指令) - curveBit 三元 → 位运算无分支 微基准 3.5-3.6x,端到端千字文 woff2 9.8→9.1ms。 体积与 SSIM 完全不变(无分支只改计算方式不改结果)。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>