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

@ -28,8 +28,8 @@ class [[deprecated("Remove in v5.1. Use the standard-library-compatible version
public:
IterCookie(Dictionary* d) : d(d) {}
bool robust = false;
Dictionary* d = nullptr;
bool robust = false;
// Index for the next valid entry. -1 is the default, meaning we haven't started
// iterating yet.