1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2026-01-05 09:29:34 +00:00

fit: lookup table optimisation after profiling

This commit is contained in:
2016-04-06 18:34:33 +01:00
parent 69ac2d5c82
commit ed8398145a
4 changed files with 41 additions and 18 deletions

View File

@@ -51,7 +51,8 @@ private:
std::vector<Index> xDim, yDim, xFitDim, yFitDim;
std::vector<std::vector<Index>> x, y, data, xFit, yFit;
std::vector<std::map<Index, Index>> yFitFromData;
std::map<Index, std::vector<Index>> xIndFromData;
// no map here for fit performance
std::vector<std::vector<Index>> xIndFromData;
} Layout;
public:
// constructor