Switch on the first char of a complex language tag

System Internals / HarfBuzz - David Corbett [husky.neu.edu] - 11 October 2018 17:54 EDT

This results in a tenfold speed-up for the common case of tags that are not complex, in the sense of `hb_ot_tags_from_complex_language`.

3f887747 Switch on the first char of a complex language tag
src/gen-tag-table.py | 171 ++++--
src/hb-ot-tag-table.hh | 1580 ++++++++++++++++++++++++------------------------
2 files changed, 922 insertions(+), 829 deletions(-)

Upstream: cgit.freedesktop.org


  • Share