sped up disk cache accesses
Shifted some code around to improve performance
This commit is contained in:
@@ -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_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user