3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-26 04:56:03 +00:00

perf and memory smash fixes to internal node count routine

This commit is contained in:
Nikolaj Bjorner 2023-04-12 21:01:05 -07:00
parent f0afbcbb87
commit 7cd8edce1f
4 changed files with 26 additions and 25 deletions

View file

@ -62,6 +62,8 @@ class bool_rewriter {
unsigned m_local_ctx_limit;
unsigned m_local_ctx_cost;
bool m_elim_ite;
ptr_vector<expr> m_todo1, m_todo2;
unsigned_vector m_counts1, m_counts2;
br_status mk_flat_and_core(unsigned num_args, expr * const * args, expr_ref & result);
br_status mk_flat_or_core(unsigned num_args, expr * const * args, expr_ref & result);