3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-29 20:05:51 +00:00

add string constant cache to theory_str and associated param

This commit is contained in:
Murphy Berzish 2016-12-18 18:47:38 -05:00
parent e5d3e425f1
commit 94762d276d
4 changed files with 32 additions and 19 deletions

View file

@ -62,13 +62,20 @@ struct theory_str_params {
*/
bool m_UseFastValueTesterCache;
/*
* If StringConstantCache is set to true,
* all string constants in theory_str generated from anywhere will be cached and saved.
*/
bool m_StringConstantCache;
theory_str_params(params_ref const & p = params_ref()):
m_AssertStrongerArrangements(true),
m_AggressiveLengthTesting(false),
m_AggressiveValueTesting(false),
m_AggressiveUnrollTesting(true),
m_UseFastLengthTesterCache(false),
m_UseFastValueTesterCache(true)
m_UseFastValueTesterCache(true),
m_StringConstantCache(true)
{
updt_params(p);
}