From 7d9698123ce38fbada898760c748bddad0662831 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 5 Jun 2023 15:44:50 -0600 Subject: [PATCH] [subset/cff1] Micro-optimize Is ugly but shows speedup. --- src/hb-ot-cff-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-cff-common.hh b/src/hb-ot-cff-common.hh index 51f4d317c..413c2ead8 100644 --- a/src/hb-ot-cff-common.hh +++ b/src/hb-ot-cff-common.hh @@ -87,7 +87,7 @@ struct CFFIndex { unsigned char *ret = c->allocate_size (1, false); if (unlikely (!ret)) return_trace (false); - *ret = *it; + *ret = *it.arrayZ; continue; } it.copy (c);