[apps/shared] Halve k_parametricStepFactor to maximise cache hits

Change-Id: Ibe3c441e4af88277d1e4594801b805336a1f3e0b
This commit is contained in:
Hugo Saint-Vignes
2020-07-30 17:59:19 +02:00
committed by Émilie Feral
parent db4a1b0265
commit 52f83eb682
3 changed files with 8 additions and 5 deletions

View File

@@ -7,7 +7,7 @@ namespace Shared {
constexpr int ContinuousFunctionCache::k_sizeOfCache;
constexpr float ContinuousFunctionCache::k_cacheHitTolerance;
constexpr int ContinuousFunctionCache::k_numberOfAvailableCaches;
constexpr int ContinuousFunctionCache::k_parametricStepFactor;
constexpr int ContinuousFunctionCache::k_numberOfParametricCacheablePoints;
// public
void ContinuousFunctionCache::PrepareForCaching(void * fun, ContinuousFunctionCache * cache, float tMin, float tStep) {