Skip to content
Commit 653b9675 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

KConfigGroup::keyList(): use dedicated implementation, avoiding unused map

Reusing KConfigGroup::entryMap() came with the price paid for generating
a complete map including new deep QString instances for all the entries.
Just to discard all the entries and the map structure and create a new
list structure, only reusing the key strings.

The extended benchmark showed for a group with a single entry a reduction
of ~ 35 %, which improves more with more entries (e.g. 3 -> ~40 %).
parent 300320c0
Pipeline #586281 passed with stage
in 8 minutes and 54 seconds
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