Skip to content
Commit 7600d5f7 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Shell Corona] Avoid iterating keys() and then doing a value() lookup

Use iterators and their key() and value() methods.

This codepath is hit 200+ times on plasmashell startup for me
Before: 420,000 ns
After: 200,000 ns

Differential Revision: https://phabricator.kde.org/D4349
parent 5b794504
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment