commit | 57816b94c56fd3fffb43d1fabe8edbfed34289c8 | [log] [tgz] |
---|---|---|
author | Ewald Hew <ewaldhew@gmail.com> | Mon Aug 21 14:20:47 2017 +0800 |
committer | Ewald Hew <ewaldhew@gmail.com> | Mon Aug 21 14:20:47 2017 +0800 |
tree | c8dae5b183a789cc9d29f9b45324dd5ad6aeaccc | |
parent | fd7441a3b7e194d94c8ac018313a02575f006a3a [diff] |
[psaux] Performance improvements (#43248). Implement proper disabling of hinting procedures when not hinting. This results in a ~30% speedup. * src/psaux/pshints.h (CF2_HintData): Gather hintmaps into hinting context. * src/psaux/pshints.c: Do not allocate structs unless needed. Skip hintmap funcs calls. Update references. * src/psaux/psintrp.c (cf2_interpT2CharString): Initialization for hinting context. <cntrmask, hintmask>: Ignore if not hinting. Update references.