For some unknown reason, DefaultListItemBackground uses dynamic item creation
instead of just declaring items for its separators. This patch removes the
dynamic item creation and just declares the separtor. This saves more than
1ms runtime per delegate that gets created in Kirigami Gallery's List View page,
reducing the time per delegate from more than 1ms to ~300us.
Details
Details
- Reviewers
mart - Group Reviewers
Kirigami - Commits
- R169:48177613f2ca: Remove dynamic item creation in DefaultListItemBackground
Kirigami Gallery's List View page still looks the same
Diff Detail
Diff Detail
- Repository
- R169 Kirigami
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.