mirror of
https://github.com/Z3Prover/z3
synced 2025-06-23 14:23:40 +00:00
expr_abstract: save 1 hashtable lookup per app argument
when we already know that the app is missing one arg to rewrite
This commit is contained in:
parent
2f5c0a6985
commit
c33bc2c8be
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ void expr_abstractor::operator()(unsigned base, unsigned num_bound, expr* const*
|
||||||
bool changed = false;
|
bool changed = false;
|
||||||
m_args.reset();
|
m_args.reset();
|
||||||
for (unsigned i = 0, e = a->get_num_args(); i < e; ++i) {
|
for (unsigned i = 0, e = a->get_num_args(); i < e; ++i) {
|
||||||
if (!m_map.find(a->get_arg(i), b)) {
|
if (!all_visited || !m_map.find(a->get_arg(i), b)) {
|
||||||
m_stack.push_back(a->get_arg(i));
|
m_stack.push_back(a->get_arg(i));
|
||||||
all_visited = false;
|
all_visited = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue