aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertycache.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-06-29 14:56:05 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-08-02 18:15:17 +0000
commita4be64a06c94765f995d49be00eb8fc9bed83958 (patch)
tree07df008d0e22c955050a3b6f174bba2945b9efa6 /src/qml/qml/qqmlpropertycache.cpp
parentd28e7e47e0ddcbb889ced731f8666996caf045b1 (diff)
Reduce memory consumption of stat() cache in QML type loader
The m_importDirCache caches the result of QDir/File::exists across paths. By changing the data structure to a QCache we impose a limit on the size of the entries and thus the memory consumption for long running programs that access many qml files. Task-number: QTBUG-61536 Change-Id: I20c4dc77260fe353c13da570b7e1bbd3f47d4b79 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache.cpp')
0 files changed, 0 insertions, 0 deletions