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
This commit is contained in:
Behdad Esfahbod 2017-10-27 15:09:22 -06:00
parent 3205de7906
commit 51f4d4d5cd

View File

@ -545,7 +545,7 @@ struct hb_auto_array_t : hb_prealloced_array_t <Type>
template <typename item_t, typename lock_t>
struct hb_lockable_set_t
{
hb_prealloced_array_t <item_t, 2> items;
hb_prealloced_array_t <item_t, 1> items;
inline void init (void) { items.init (); }