diff options
author | Igor Kushnir <igorkuo@gmail.com> | 2021-12-25 08:41:02 +0200 |
---|---|---|
committer | Igor Kushnir <igorkuo@gmail.com> | 2022-01-02 20:04:58 +0200 |
commit | af6b3a375d99ce5ec5ecf5a30c6bc2b1b9db6102 (patch) | |
tree | f20951fdf40d99865624bd7907d3e524dd4af843 /src/kconfig_compiler/KConfigSourceGenerator.h | |
parent | 295ea7632ac7cc2cc3eda79b7af8614d5ff95a41 (diff) | |
download | kconfig-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/kconfig_compiler/KConfigSourceGenerator.h')
0 files changed, 0 insertions, 0 deletions