diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2019-10-23 19:41:43 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2019-10-23 19:45:06 +0200 |
commit | ecc7edda9e1acc43fcf6effc72120e54bda4a655 (patch) | |
tree | 3b7fa180e6ac3c03f468eb067d762b4dd5b5e842 /src/plugins/irc/irc-completion.c | |
parent | fbc9faed42bec4b262e1e7b16622deebea08b98c (diff) | |
download | weechat-ecc7edda9e1acc43fcf6effc72120e54bda4a655.zip |
core: optimize search of options in configuration sections
Since options are sorted in sections, it is faster to search from the last
option to the first one.
For configuration files with many options in a single section (like
plugins.conf), the load of configuration file is about 2 to 3x faster.
Diffstat (limited to 'src/plugins/irc/irc-completion.c')
0 files changed, 0 insertions, 0 deletions