googlefonts / googlefonts/fontations

consider a reusable context for iup_optimize_deltas

Open
#618 1 comment 0 reactions 0 assignees View on GitHub
optimization
Dominant language
Rust
Stars
826
Forks
75
Avg merge
22h 33m
Merged PRs (30d)
75

Description

In cases where a font has a large number of variation locations, iup_optimize_deltas is doing a lot of redundant allocation. In particular we clone the point list for each location when this could be shared, and we also allocate a number of hashsets that could be reused.

This feels low priority/is not backed by any profiling, but there is likely some room for improvement here.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.