aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/protobuf/cpp/protobufcpp.qbs
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-05-18 18:21:19 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2019-05-22 11:42:56 +0000
commit9facadbb0e7b6032daac736f5a3084e9ea3c96ba (patch)
treeba40fdd0f88220ff71f9a2a1e369774b7d2a4956 /share/qbs/modules/protobuf/cpp/protobufcpp.qbs
parentd5ace749e89a6b6fbf4ec836e054fab21729a0ef (diff)
Use std:: containers in ProjectBuildData
It appears, that destruction of complex QHashes/QLists took a bit time in refcounts. Optimize them by using std::unordered_map and std::vector instead. Plus, make structure simplier, instead of 2 hashes, use pair as a key. qbs::Internal::ProjectBuildData::~ProjectBuildData() Before: 11.00 ms 0.1% After: 6.00 ms 0.0% Change-Id: I82d8bec5a465210cfa54762088f47c606c0e48e5 Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/modules/protobuf/cpp/protobufcpp.qbs')
0 files changed, 0 insertions, 0 deletions