mirror of
https://github.com/Z3Prover/z3
synced 2025-09-30 13:19:04 +00:00
initialize table with power of 2
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
294f0578b0
commit
8440623f6d
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ void func_interp::insert_new_entry(expr * const * args, expr * r) {
|
|||
m_args_are_values = false;
|
||||
m_entries.push_back(new_entry);
|
||||
if (!m_entry_table && m_entries.size() > 500) {
|
||||
m_entry_table = alloc(entry_table, 1000,
|
||||
m_entry_table = alloc(entry_table, 1024,
|
||||
func_entry_hash(m_arity), func_entry_eq(m_arity));
|
||||
for (func_entry* curr : m_entries)
|
||||
m_entry_table->insert(curr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue