Skip to content

Conversation

@dfrg
Copy link
Collaborator

@dfrg dfrg commented Sep 10, 2025

Attempt at #256

@dfrg dfrg requested a review from behdad September 10, 2025 22:50
@dfrg
Copy link
Collaborator Author

dfrg commented Sep 10, 2025

@valadaptive this avoids subtable reparsing entirely for pairpos2. Would you mind checking if this improves your profile?

@valadaptive
Copy link
Contributor

Yes! This speeds up shaping Ubuntu Light by ~8% in the benchmark.

@behdad
Copy link
Member

behdad commented Sep 11, 2025

Looks good in general. Should we remove the unused impl then?

Any way to make this more harmonious across lookup types would be nice. Would it be too heavy to do this kind of caching on every lookups?

@dfrg
Copy link
Collaborator Author

dfrg commented Sep 11, 2025

Yes to all. This needs a bit of cleanup before merging, the code should be better structured to accommodate it and we should try to do this for all lookups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants