vim-airline/autoload/airline
Christian Brabandt 4d8a06a5a9
highlighter: get rid of s:Get() function
Replace by a function that retuns the to be executed highlighting string

Should in theory be a bit faster, since the same function does not have
to be called 5 times per highlighting group.

It probably is not much better, but here are some random numbers:

Profiling:

Previously:
count  total (s)   self (s)
  199   0.022973   0.009909     let cmd = printf('hi %s %s %s %s %s %s %s %s', a:group, s:Get(colors, 0, 'guifg=')…

New:
count  total (s)   self (s)
   79   0.010166   0.000862     let cmd = printf('hi %s%s', a:group, s:GetHiCmd(colors))
2018-11-12 17:59:02 +01:00
..
extensions Merge pull request #1816 from amiller27/numbered-ctrlspace-tabs 2018-11-01 16:10:16 +01:00
themes Add a specific color for commandline mode 2018-07-26 10:22:40 +02:00
async.vim po: shorten and reformat message format for smaller windows 2018-11-01 10:40:41 +01:00
builder.vim builder: don't call add_separtor twice 2018-11-08 16:44:26 +01:00
debug.vim Update copyright notifications 2018-01-05 10:37:59 +01:00
extensions.vim Merge pull request #1788 from hallettj/extension/languageclient 2018-09-10 07:36:15 +02:00
highlighter.vim highlighter: get rid of s:Get() function 2018-11-12 17:59:02 +01:00
init.vim mode: Update doc, sort dict 2018-10-15 14:17:49 +02:00
msdos.vim Update copyright notifications 2018-01-05 10:37:59 +01:00
parts.vim Remove trailing space 2018-10-15 20:35:28 +08:00
section.vim Update copyright notifications 2018-01-05 10:37:59 +01:00
themes.vim modes: do not add special sections to accents 2018-11-07 13:49:22 +01:00
util.vim autocomd: do not re-evaluate modelines 2018-09-25 16:03:30 +02:00