[subset-cff] Optimize parsed_cs_op_t size

Shows 5% speedup on SourceHanSans-Regular/10000 benchmark.
This commit is contained in:
Behdad Esfahbod 2022-11-21 16:46:20 -07:00
parent e0b06bd1b1
commit 4b2caafea2
1 changed files with 4 additions and 4 deletions

View File

@ -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>