QFileInfo: Implement additional caching of FileOwner strings
commit3c8ac0ee7f09bbef4dc56a05de538df1aa16a596
authorRitt Konstantin <ritt.ks@gmail.com>
Tue, 26 Jan 2010 16:26:50 +0000 (26 17:26 +0100)
committerJoão Abecasis <joao@trolltech.com>
Tue, 26 Jan 2010 16:26:50 +0000 (26 17:26 +0100)
tree4a2ee8e89172a1e627816ad8143ac0bbc9fe01f1
parentfbd0b8c0f6dce834b241f6beb755d2c2cb013305
QFileInfo: Implement additional caching of FileOwner strings

Reduce overhead of the uid/gid to user/group name conversion by caching
results from QAbstractFileEngine::owner().

Merge-request: 446
Reviewed-by: João Abecasis <joao@trolltech.com>
src/corelib/io/qfileinfo.cpp
src/corelib/io/qfileinfo_p.h