summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-msgbuffer.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-10-23 19:41:43 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-10-23 19:45:06 +0200
commitecc7edda9e1acc43fcf6effc72120e54bda4a655 (patch)
tree3b7fa180e6ac3c03f468eb067d762b4dd5b5e842 /src/plugins/irc/irc-msgbuffer.h
parentfbc9faed42bec4b262e1e7b16622deebea08b98c (diff)
downloadweechat-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-msgbuffer.h')
0 files changed, 0 insertions, 0 deletions