aboutsummaryrefslogtreecommitdiff
path: root/src/gui/kwindowconfig.cpp
diff options
context:
space:
mode:
authorIgor Kushnir <igorkuo@gmail.com>2021-12-25 08:41:02 +0200
committerIgor Kushnir <igorkuo@gmail.com>2022-01-02 20:04:58 +0200
commitaf6b3a375d99ce5ec5ecf5a30c6bc2b1b9db6102 (patch)
treef20951fdf40d99865624bd7907d3e524dd4af843 /src/gui/kwindowconfig.cpp
parent295ea7632ac7cc2cc3eda79b7af8614d5ff95a41 (diff)
downloadkconfig-af6b3a375d99ce5ec5ecf5a30c6bc2b1b9db6102.tar.gz
kconfig-af6b3a375d99ce5ec5ecf5a30c6bc2b1b9db6102.tar.bz2
groupList: convert each group name from UTF-8 once
Usually multiple key entries belong to each group. Before this commit every key entry's group name was converted from UTF-8 to UTF-16 and then inserted into a set. With this commit every key entry's group name is inserted as a std::string_view into a set, and only unique group names are converted to UTF-16 in the end. This should improve performance.
Diffstat (limited to 'src/gui/kwindowconfig.cpp')
0 files changed, 0 insertions, 0 deletions