sped up disk cache accesses

Shifted some code around to improve performance
This commit is contained in:
itsmattkc
2021-03-08 11:26:03 +11:00
parent a57bf35e93
commit 8ef608c246
2 changed files with 35 additions and 37 deletions
+2 -2
View File
@@ -86,11 +86,11 @@ private:
struct HashTime {
QString file_name;
QByteArray hash;
qint64 file_size;
qint64 access_time;
};
std::list<HashTime> disk_data_;
QMap<QByteArray, HashTime> disk_data_;
qint64 consumption_;