mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Reorder fields in some classes for more compact memory layout
This commit is contained in:
parent
f849f024e5
commit
9b15db25f6
11 changed files with 22 additions and 24 deletions
|
@ -915,12 +915,13 @@ public:
|
|||
R_INIT_VECTOR, // field requires a new vector
|
||||
} init_type;
|
||||
|
||||
bool def_coerce = false; // whether coercion's required
|
||||
|
||||
// For R_INIT_DIRECT/R_INIT_DIRECT_MANAGED:
|
||||
ZVal direct_init;
|
||||
|
||||
detail::ExprPtr def_expr;
|
||||
TypePtr def_type;
|
||||
bool def_coerce = false; // whether coercion's required
|
||||
|
||||
RecordTypePtr r_type; // for R_INIT_RECORD
|
||||
TableTypePtr t_type; // for R_INIT_TABLE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue