3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-27 21:48:56 +00:00

reduce memory allocs in params

This commit is contained in:
Nuno Lopes 2023-12-21 23:27:09 +00:00
parent ae1d9270b5
commit 766f5f04c0
2 changed files with 15 additions and 19 deletions

View file

@ -32,12 +32,12 @@ class param_descrs;
class params_ref {
static params_ref g_empty_params_ref;
params * m_params;
params * m_params = nullptr;
void init();
void copy_core(params const * p);
void set(params_ref const& p);
public:
params_ref():m_params(nullptr) {}
params_ref() = default;
params_ref(params_ref const & p);
~params_ref();