[set-digest] Tune back to starting with 4

Make Amiri slightly slower again, but works better for AAT fonts
I tested.
This commit is contained in:
Behdad Esfahbod 2025-02-02 08:40:30 +00:00
parent 9fd855ed55
commit 66bb94fe46

View file

@ -69,7 +69,7 @@ struct hb_set_digest_t
// No science in these. Intuition and testing only.
using mask_t = uint64_t;
static constexpr unsigned n = 4;
#define HB_SET_DIGEST_SHIFTS {3, 0, 6, 9}
#define HB_SET_DIGEST_SHIFTS {4, 0, 6, 9}
static constexpr unsigned mask_bytes = sizeof (mask_t);
static constexpr unsigned mask_bits = sizeof (mask_t) * 8;