Mercurial > hg > svcore
diff data/model/Dense3DModelPeakCache.h @ 1837:1b688ab5f1b3
Unify various vectors to our base floatvec_t type; store columns in fft model cache at their desired height so we can return a reference (speeding up the peak-frequency spectrogram in particular)
author | Chris Cannam |
---|---|
date | Thu, 09 Apr 2020 11:22:55 +0100 |
parents | 21c792334c2e |
children |
line wrap: on
line diff
--- a/data/model/Dense3DModelPeakCache.h Mon Apr 06 13:55:44 2020 +0100 +++ b/data/model/Dense3DModelPeakCache.h Thu Apr 09 11:22:55 2020 +0100 @@ -136,7 +136,7 @@ ModelId m_source; int m_columnsPerPeak; - mutable std::vector<std::vector<float>> m_cache; + mutable std::vector<Column> m_cache; mutable std::vector<bool> m_coverage; // bool for space efficiency // (vector of bool is a bitmap) mutable bool m_finalColumnIncomplete;