diff options
author | Harald Fernengel <harald.fernengel@nokia.com> | 2012-07-27 11:53:46 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-01 00:14:41 +0200 |
commit | 8fb040b6c03ef2725419bfa7c9d58d21f2270b85 (patch) | |
tree | afc7dc68d12072200a5d3a1fb8ae3d2bbc8e28b8 /src/corelib/io/qstandardpaths_win.cpp | |
parent | 39df773eb5926621d1a742ed5af574933028b2a8 (diff) |
Lazy initialize library paths
For a lot of command line tools, library loading is not required, so
don't waste a lot of time computing them. According to callgrind, this
makes the QCoreApplication constructor factor 6 faster, and also removes
a lot of stat() calls and other file system access.
Change-Id: I0211f5303712fa0dcfc4168cce7025283c63c9d1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/io/qstandardpaths_win.cpp')
0 files changed, 0 insertions, 0 deletions