aboutsummaryrefslogtreecommitdiff
path: root/src/kconfig_compiler/KConfigCodeGeneratorBase.h
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2021-07-01 02:50:55 +0200
committerAleix Pol <aleixpol@kde.org>2021-07-04 17:22:45 +0200
commit93c9398cdcf147c5c5e1a89662ffd047e36927ac (patch)
tree52b09ee245368e799a2c1b60028fd2d99f484adb /src/kconfig_compiler/KConfigCodeGeneratorBase.h
parent74a861c5617621663b1d5d8a1cd79c7a0eef9d8a (diff)
downloadkconfig-93c9398cdcf147c5c5e1a89662ffd047e36927ac.tar.gz
kconfig-93c9398cdcf147c5c5e1a89662ffd047e36927ac.tar.bz2
Cache global config files
Whenever we read a config file, we are first parsing kdeglobalsrc. This caches the parsed entries so that they can be reused as long as it hasn't changed. This reduces the parseConfig calls (which is mostly prominent at early process startup) from 18 to 12 (33%) ksmserver-logout-greeter. This also means there's better cache locality as well as less memory allocated as a lot of objects are shared but I have not measured this.
Diffstat (limited to 'src/kconfig_compiler/KConfigCodeGeneratorBase.h')
0 files changed, 0 insertions, 0 deletions