QNX: Use extra information in dirent to avoid stat() calls
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>
Wed, 26 Sep 2012 15:57:14 +0000 (17:57 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 19 Oct 2012 11:02:31 +0000 (13:02 +0200)
commit391d2e37f3b301097cd23fdaf99dc34ed6a114a5
tree39f2d3546a5d399082ca7815f9117bd47b449bf4
parentb206fba8b1f6c8b03c7d23bccdaf0888727ce6b6
QNX: Use extra information in dirent to avoid stat() calls

This improves iterating over /usr/bin with QDirIterator by more
than half, from 36 to 13 milliseconds.

Change-Id: Ib3a9271c3a6f81c1ea3c21d012c875c7e9bad2ad
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
src/corelib/io/qfilesystemengine.cpp
src/corelib/io/qfilesystemiterator_p.h
src/corelib/io/qfilesystemiterator_unix.cpp