mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-24 00:11:14 +01:00
[TupleValues] Disable a "fastpath"
This commit is contained in:
1 parent
1cff2c31f0
commit
d960ee32ac
1 file changed
+4
-1
+4
-1
@@ -2040,7 +2040,10 @@ struct TupleValues
|
||||
}
|
||||
|
||||
#ifndef HB_OPTIMIZE_SIZE
|
||||
if (scale == 1.0f)
|
||||
// The following branch is supposed to speed things up by avoiding
|
||||
// the multiplication in _add_to<> if scale is 1.0f.
|
||||
// But in practice it seems to bloat the code and slow things down.
|
||||
if (false && scale == 1.0f)
|
||||
_add_to<false> (out);
|
||||
else
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user