Reorder fields in some classes for more compact memory layout

This commit is contained in:
Tim Wojtulewicz 2021-07-13 19:12:21 +00:00 committed by Tim Wojtulewicz
parent f849f024e5
commit 9b15db25f6
11 changed files with 22 additions and 24 deletions

View file

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