[subset-cff] Optimize parsed_cs_op_t size
Shows 5% speedup on SourceHanSans-Regular/10000 benchmark.
This commit is contained in:
parent
e0b06bd1b1
commit
4b2caafea2
|
@ -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…
Reference in New Issue