summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtransform
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-06-15 10:09:25 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-06-15 10:14:59 (GMT)
commit44766d265c16551043d2739171069fe042c40091 (patch)
tree63c5d8e8a1a01da41f8b3578f8dd919bee93fc2c /tests/auto/qtransform
parent5d02b900f6070872a305f8405b504ecc01833de7 (diff)
downloadQt-44766d265c16551043d2739171069fe042c40091.zip
Qt-44766d265c16551043d2739171069fe042c40091.tar.gz
Qt-44766d265c16551043d2739171069fe042c40091.tar.bz2
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 'tests/auto/qtransform')
0 files changed, 0 insertions, 0 deletions