Redesigned FileAnalyzer and Analyzer task. New design is much cleaner, resulting...
commit9dbb317a5cf5eca4f130636397f41e41b7356c09
authorLoRd_MuldeR <mulder2@gmx.de>
Sun, 6 Oct 2013 17:26:08 +0000 (6 19:26 +0200)
committerLoRd_MuldeR <mulder2@gmx.de>
Sun, 6 Oct 2013 17:26:08 +0000 (6 19:26 +0200)
treedeed8ae478f223f2ad58352547dd4750e7d8c71a
parenta8cdb050fb228d4ac91d91d201723298b5684b0b
Redesigned FileAnalyzer and Analyzer task. New design is much cleaner, resulting in simpler code and faster file import performance. Also, playlist files are now handled ahead of everything else, which makes sure the progress indicator increases monotonically. Preliminary tests show that file import performance has been more than doubled! For example, the time for importing ~1000 files decreased from 116 seconds to 46 seconds on the development machine, which corresponds to a 2.5x speed-up.
src/Thread_FileAnalyzer.cpp
src/Thread_FileAnalyzer.h
src/Thread_FileAnalyzer_Task.cpp
src/Thread_FileAnalyzer_Task.h