[subset-cff] Optimize parsed_cs_op_t size

Shows 5% speedup on SourceHanSans-Regular/10000 benchmark.
pull/3886/head
Behdad Esfahbod 2 years ago
parent e0b06bd1b1
commit 4b2caafea2
  1. 8
      src/hb-subset-cff-common.hh

@ -313,12 +313,12 @@ struct parsed_cs_op_t : op_str_t
bool for_skip () const { return skip_flag; }
void set_skip () { skip_flag = true; }
unsigned int subr_num;
uint16_t subr_num;
protected:
bool drop_flag;
bool keep_flag;
bool skip_flag;
bool drop_flag : 1;
bool keep_flag : 1;
bool skip_flag : 1;
};
struct parsed_cs_str_t : parsed_values_t<parsed_cs_op_t>

Loading…
Cancel
Save