Port away from string-based connects
ClosedPublic

Authored by vkrause on Jul 15 2018, 10:13 AM.

Details

Summary

Due to the large amount of connections here, multiplied by the not exactly
small amount of instances even in simple applications, the allocations of
the string operations actually become relevant. Function pointer connects
also allocate, but only about 1/3 of the string-based ones.

Test Plan

One scroll through the KDE Itinerary timeline with a large test data set loaded,
measured in heaptrack. Removed 60k/2.5% (temporary) string allocations.

Diff Detail

Repository
R858 Qt Quick Controls 2: Desktop Style
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
vkrause created this revision.Jul 15 2018, 10:13 AM
Restricted Application added a project: Plasma. · View Herald TranscriptJul 15 2018, 10:13 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
vkrause requested review of this revision.Jul 15 2018, 10:13 AM
apol accepted this revision.Jul 16 2018, 12:27 PM
This revision is now accepted and ready to land.Jul 16 2018, 12:27 PM
This revision was automatically updated to reflect the committed changes.