Switch on the first char of a complex language tag
authorDavid Corbett <corbett.dav@husky.neu.edu>
Thu, 19 Jul 2018 17:48:07 +0000 (13:48 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 11 Oct 2018 17:54:28 +0000 (13:54 -0400)
commit3f8877473fb4c72a6f3edfcfc927b9993a5f3616
tree13099e809e1fa848124450d9a9c79d3193a4746e
parenta754d44195021603306af2a296d06187eda95409
Switch on the first char of a complex language tag

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`.
src/gen-tag-table.py
src/hb-ot-tag-table.hh