From 51f4d4d5cd5a0dd1a581bee5b55b3cc0a74cbea3 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 27 Oct 2017 15:09:22 -0600 Subject: [PATCH] Reduce prealloced number of user-data items from 2 to 1 Even 1 is too many but putting 0 breaks compile. Saves 3k in .so --- src/hb-private.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-private.hh b/src/hb-private.hh index a6b3ab8c..ab6511dc 100644 --- a/src/hb-private.hh +++ b/src/hb-private.hh @@ -545,7 +545,7 @@ struct hb_auto_array_t : hb_prealloced_array_t template struct hb_lockable_set_t { - hb_prealloced_array_t items; + hb_prealloced_array_t items; inline void init (void) { items.init (); } -- GitLab