ctrlpvim / ctrlp.vim

Active fork of kien/ctrlp.vim—Fuzzy file, buffer, mru, tag, etc finder.
ctrlpvim.github.com/ctrlp.vim
Other
5.58k stars 260 forks source link

Better Cache file for Runtime Mode? #609

Open BioBox opened 2 years ago

BioBox commented 2 years ago

I notice that there's a performance hiccup when using runtime mode. Looking through the code it becomes apparently obvious why that is; the runtimepath is iterated over using globpath() and caching is only done after the first run indexing. I'd reckon performance could be greatly improved by simply having a more permenant cache similar to the mru mode.