mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 08:08:19 +00:00
Merge remote-tracking branch 'origin/topic/timw/structure-packing'
During merge, changed a bit of how Frame OffsetMap assignments/contruction were handled to keep parity with old version. * origin/topic/timw/structure-packing: Lazy-initalize some of the fields in Frame to reduce the size of all Frames when they're not used Set InternalHashTag to a uint16_t so CompositeHash doesn't have a gap in it. Mark constants in List constexpr so they don't actually take up space in created objects Reorder some class variables to fill in gaps in structure packing
This commit is contained in:
commit
5fe2a57356
18 changed files with 95 additions and 67 deletions
|
@ -111,9 +111,9 @@ protected:
|
|||
vector<Body> bodies;
|
||||
IntrusivePtr<Scope> scope;
|
||||
Kind kind;
|
||||
uint32_t unique_id;
|
||||
IntrusivePtr<BroType> type;
|
||||
string name;
|
||||
uint32_t unique_id;
|
||||
static vector<Func*> unique_ids;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue