diff options
author | mread <qt-info@nokia.com> | 2010-02-26 14:34:16 (GMT) |
---|---|---|
committer | mread <qt-info@nokia.com> | 2010-02-26 15:34:24 (GMT) |
commit | 4302c8fa7a234f6f4cfc35f572b93a000d199fe3 (patch) | |
tree | bec678094c45c3fcaff86bdf843075ea8f23b0dc /src/multimedia | |
parent | 7ca00ed67cb18fb858e1e89cec21b3db696fa923 (diff) | |
download | Qt-4302c8fa7a234f6f4cfc35f572b93a000d199fe3.zip Qt-4302c8fa7a234f6f4cfc35f572b93a000d199fe3.tar.gz Qt-4302c8fa7a234f6f4cfc35f572b93a000d199fe3.tar.bz2 |
Symbian file system use optimisation for stat and symlinks
Symbian implementation of fileFlags calls both doStat and isSymlink
resulting in calls to both stat and lstat. However most of the time,
ie when accessing a normal file rather than a symlink, lstat gives all
the information we require. So this change uses lstat where possible,
and caches its result for both doStat and isSymlink.
During start of DesktopServices app, this cuts calls to stat/lstat by
45%.
Reviewed-by: Shane Kearns
Diffstat (limited to 'src/multimedia')
0 files changed, 0 insertions, 0 deletions