commit | c48e55b738b5a3cc57f20eb7b949fcfec5ca9dd4 | [log] [tgz] |
---|---|---|
author | Ewald Hew <ewaldhew@gmail.com> | Mon Aug 21 14:20:47 2017 +0800 |
committer | Ewald Hew <ewaldhew@gmail.com> | Mon Aug 28 08:31:34 2017 +0800 |
tree | ca8f2ba062b7367019ecb06af97cd4983fd0ad2d | |
parent | 423d7cf1654a8d6439f3f89e5492e8b19cfe22c3 [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.