mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[calculate-scalar] A bit more speedup
5% speedup in varc-hanzi drawing. No slowdown on GoogleSansFlex.
This commit is contained in:
1 parent
21d15507fc
commit
17092a67cc
1 file changed
+4
@@ -165,8 +165,12 @@ struct TupleVariationHeader
|
||||
#ifndef HB_OPTIMIZE_SIZE
|
||||
#if HB_FAST_NUM_ACCESS
|
||||
if (skip)
|
||||
{
|
||||
while (i + 4 < coord_count && * (HBUINT64LE *) &peak_tuple[i] == 0)
|
||||
i += 4;
|
||||
while (i + 1 < coord_count && peak_tuple[i].to_int () == 0)
|
||||
i += 1;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user