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

@ -200,18 +200,17 @@ protected:
bool is_short;
bool want_quotes;
bool want_determinism;
bool do_flush;
bool include_stats;
int indent_with_spaces;
int indent_level;
using escape_set = std::set<std::string>;
escape_set escape_sequences; // additional sequences of chars to escape
File* f; // or the file we're using.
int indent_level;
bool do_flush;
bool include_stats;
std::set<const Type*> encountered_types;
};