mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
move from uint_set to hashtable over unsigned to save memory overhead in consequence generation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
94b67412ec
commit
76cf28d48b
3 changed files with 21 additions and 16 deletions
|
@ -558,14 +558,13 @@ public:
|
|||
|
||||
core_hashtable& operator|=(core_hashtable const& other) {
|
||||
if (this == &other) return *this;
|
||||
iterator i = begin(), e = end();
|
||||
iterator i = other.begin(), e = other.end();
|
||||
for (; i != e; ++i) {
|
||||
insert(*i);
|
||||
}
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
core_hashtable& operator&=(core_hashtable const& other) {
|
||||
if (this == &other) return *this;
|
||||
core_hashtable copy(*this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue