mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 20:48:21 +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
|
@ -159,6 +159,7 @@ protected:
|
|||
char* dir; // directory in which cache_name resides
|
||||
|
||||
bool did_init;
|
||||
int asyncs_pending;
|
||||
|
||||
RecordTypePtr dm_rec;
|
||||
|
||||
|
@ -236,8 +237,6 @@ protected:
|
|||
typedef std::priority_queue<AsyncRequest*, std::vector<AsyncRequest*>, AsyncRequestCompare> TimeoutQueue;
|
||||
TimeoutQueue asyncs_timeouts;
|
||||
|
||||
int asyncs_pending;
|
||||
|
||||
unsigned long num_requests;
|
||||
unsigned long successful;
|
||||
unsigned long failed;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue