[apps] Increase the number of memoized expression models

This commit is contained in:
Léa Saviot
2018-10-25 14:13:59 +02:00
committed by Émilie Feral
parent 597d2c46a4
commit 7bfae0c034

View File

@@ -31,7 +31,7 @@ public:
void tidy();
void storageDidChangeForRecord(const Ion::Storage::Record record) const { resetMemoizedModelsExceptRecord(record); }
protected:
constexpr static int k_maxNumberOfMemoizedModels = 5;
constexpr static int k_maxNumberOfMemoizedModels = 10;
typedef bool (*ModelTest)(StorageExpressionModel * model);
int numberOfModelsSatisfyingTest(ModelTest test) const;
Ion::Storage::Record recordStatifyingTestAtIndex(int i, ModelTest test) const;