diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-03-31 11:57:16 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-04-16 08:02:07 (GMT) |
commit | 80154fbd0aab812c5a16d3675741dd4531e7008a (patch) | |
tree | 768a50ae716cc118558ea2df4b8543b5572e62f2 /src/corelib/io/qfileinfo.cpp | |
parent | 0d433bcb83152c3a67fa81edcce36abf4b3191c4 (diff) | |
download | Qt-80154fbd0aab812c5a16d3675741dd4531e7008a.zip Qt-80154fbd0aab812c5a16d3675741dd4531e7008a.tar.gz Qt-80154fbd0aab812c5a16d3675741dd4531e7008a.tar.bz2 |
Fixes: Make QDir::cleanPath() slightly faster, by avoiding some detach calls..
RevBy: Samuel
Details: We have the size of the array and we don't realloc, so we can use direct
pointer access. This saves us a few detach() calls and some refcount
checking in the inner loops...
Found during S60 Performance week...
Diffstat (limited to 'src/corelib/io/qfileinfo.cpp')
0 files changed, 0 insertions, 0 deletions