[TupleValues] Disable a "fastpath"

This commit is contained in:
Behdad Esfahbod committed 2025-12-21 22:06:06 -07:00
1 parent 1cff2c31f0
commit d960ee32ac
1 file changed
+4 -1
+4 -1
View File
@@ -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