summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qmatrix.cpp
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-06-15 12:09:25 +0200
committerAlexis Menard <alexis.menard@nokia.com>2009-06-15 12:14:59 +0200
commit44766d265c16551043d2739171069fe042c40091 (patch)
tree63c5d8e8a1a01da41f8b3578f8dd919bee93fc2c /src/gui/painting/qmatrix.cpp
parent5d02b900f6070872a305f8405b504ecc01833de7 (diff)
Improve the speed of QDir, QFileInfo and QDirIterator.
This patch basically avoid to call too often currentFileInfo in QDirIterator. It replaces the QHash that was overkill in QFileInfo for caching filenames. The last part is reordering the matchesFilter to avoid stat as much as possible by using the power of && and filters that are set on QDirIterator. And it fixes some random "mistake". I have added a benchmark in QDir which test some use case with 10000 files in a dir. Written-with: Benjamin Reviewed-by: phartman
Diffstat (limited to 'src/gui/painting/qmatrix.cpp')
0 files changed, 0 insertions, 0 deletions