mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 00:32:59 +00:00
[morx] Micro-optimize
This commit is contained in:
parent
9cf2ea3e8f
commit
1ff462354b
1 changed files with 3 additions and 2 deletions
|
@ -1133,10 +1133,11 @@ struct Chain
|
|||
{
|
||||
bool reverse;
|
||||
|
||||
hb_mask_t subtable_flags = subtable->subFeatureFlags;
|
||||
if (hb_none (hb_iter (c->range_flags) |
|
||||
hb_map ([&subtable] (const hb_aat_map_t::range_flags_t _) -> bool { return subtable->subFeatureFlags & (_.flags); })))
|
||||
hb_map ([subtable_flags] (const hb_aat_map_t::range_flags_t _) -> bool { return subtable_flags & (_.flags); })))
|
||||
goto skip;
|
||||
c->subtable_flags = subtable->subFeatureFlags;
|
||||
c->subtable_flags = subtable_flags;
|
||||
c->machine_class_cache = accel ? &accel->subtables[i].class_cache : nullptr;
|
||||
|
||||
if (!(subtable->get_coverage() & ChainSubtable<Types>::AllDirections) &&
|
||||
|
|
Loading…
Add table
Reference in a new issue