Skip to content

Conversation

molind
Copy link

@molind molind commented Jun 29, 2018

Added caching mentioned in #651.

In our tests hb_shape time decreased from 260ms to 10ms.

I have almost no experience with autoconf, please check if it's correct.

@ebraminio
Copy link
Collaborator

Behdad, couldn't we always have this instead introducing a build option?

@behdad
Copy link
Member

behdad commented Jun 30, 2018

Behdad, couldn't we always have this instead introducing a build option?

Yep, agree.

@behdad
Copy link
Member

behdad commented Jun 30, 2018

I need to figure out how to invalidate the cache if font size changes though... That's, complicated.

behdad added a commit that referenced this pull request Sep 11, 2018
@behdad behdad closed this in 54998be Sep 11, 2018
@behdad
Copy link
Member

behdad commented Sep 11, 2018

Done. I also added --ft-load-flags to hb-shape and hb-view to allow measuring performance. Looks good now.

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