vim-airline/autoload/airline/extensions/tabline
Christian Brabandt 31906ac7b2 Some improvements for the buflist implementation
This should make the buflist algorithm faster.
Also there is an alternative implementation in branch 535 available,
which avoids looping over the complete range, I'll stay with the current
approach, as it does not depend on BufAdd/BufDelete autocommands.

details:
instead of testing for buflisted() and bufexists() we only test for
buflisted() because, this also tests for the existence of the buffer.
Also instead of a second loop of the exclude patterns, we'll join all
of them together with '\|' and check if they match the current buffer.
The rest of the conditions have been joined into a single condition.

This together made up an improvement of
Orig:
FUNCTION  airline#extensions#tabline#buflist#list()
Called 94 times
Total time:   0.267305
 Self time:   0.267305

New:
FUNCTION  airline#extensions#tabline#buflist#list()
Called 85 times
Total time:   0.124572
 Self time:   0.124572
2016-02-09 19:41:17 +01:00
..
formatters happy 2016! 2016-01-14 21:38:38 -05:00
autoshow.vim Check window size 2016-01-17 18:35:24 +01:00
buffers.vim clarify buffer_idx mode mappings 2016-01-22 20:20:18 +01:00
buflist.vim Some improvements for the buflist implementation 2016-02-09 19:41:17 +01:00
ctrlspace.vim Problem: Load check variables has changed 2016-02-08 08:36:25 +01:00
tabs.vim Revert "remove wrong backslash" 2016-02-04 19:03:25 +01:00