mirror of
https://github.com/Z3Prover/z3
synced 2025-05-04 22:35:45 +00:00
remove a bunch of unneeded memory allocations
This commit is contained in:
parent
7f149a36d7
commit
689e2d41de
7 changed files with 52 additions and 64 deletions
|
@ -367,8 +367,8 @@ public:
|
|||
decl_info(family_id, k, num_parameters, parameters, private_parameters), m_num_elements(num_elements) {
|
||||
}
|
||||
|
||||
sort_info(decl_info const& di, sort_size const& num_elements) :
|
||||
decl_info(di), m_num_elements(num_elements) {}
|
||||
sort_info(decl_info && di, sort_size const& num_elements) :
|
||||
decl_info(std::move(di)), m_num_elements(num_elements) {}
|
||||
|
||||
bool is_infinite() const { return m_num_elements.is_infinite(); }
|
||||
bool is_very_big() const { return m_num_elements.is_very_big(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue