MarcWeber/vim-addon-manager — comment on commit 65278d0eefb5ee295c6a660a783d7010c6302dc0
File:  line 0
By MarcWeber:

Excerpts from ZyX-I's message of Sun Jan 22 00:58:09 +0100 2012:
> There are some things why this function is much worse then mine:
You don't even have a function. Your code was cryptic and very hard to
reuse and understand. I tried using it for completion - and I failed..
Having to define str var and set len()-1 vars before you can use
anything .. too complicated.

> 1. It has self time of 0.25 and mine has self time of 0.11 (with all but first three filters removed, 0.32 with all filters) called with
Who cares? You may try to change order (reducing isdirectory calls).

If you want speed don't use VimL. If its fast enough its fine. and 0.25
is fast enoguh.

If you think your code is better then
- readd it
- document it
- put intno a funtion having a similar interface then the one which is
there now.

> 2. It does not provide completion for `utlsnips` (second and third
> letters were swapped).

> 3. I do not understand the names: `c`, `m`, `p`, `n`.
What is hard to understand?

" earlier lists higher match priority
let m = [[],[],[]]
return sort(m[0]) + sort(m[1]) + sort(m[2])

Sorry - I have a deadline till tomorrow - I won't have much time.

Marc Weber