On Fri, Sep 12, 2014 at 5:04 AM, Bram Moolenaar <[email protected]> wrote:
> Although removing arbitrary limits is good, making 'runtimepath' very
> long is a bad idea.  Every time Vim searches for a runtime file it will
> visit those directories and request the contents.

Hmmm it seems that ex_cmds2.c:do_in_runtimepath() could benefit from a litte
memoization, perhaps expiring the cache whenever 'runtimepath' is modified.

> A plugin manager better use another mechanism.  A dictionary to lookup
> what file is located where is a LOT faster.

Sorry for not researching this thoroughly, but isn't all what a plugin manager
does is populate 'runtimepath' and then leave all the rest to vim?

Nazri

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui