Is also quite good.
It would cool to have a performance comparison
Is also quite good.
It would cool to have a performance comparison
Simply abort the scanning after a configurable threshold (either seconds or files).
Needless to say that, yes, this must be implemented.
I've choked my vim more than once by accidentally running Command-T or FuzzyFinder in the "wrong" directory. That should not happen.
But it makes me sad to use these vim extensions choking on directories of similar size. Maybe NTFS vs ext4 has something to do with it?
I remember in early versions of Command-T, the Ruby implementation was slow for big trees. They rewrote some of it later in C.
cd
vim
<Ctrl+P>
(wait 10~15s for it to complete)
<ESC>
:q
find . |wc -l
183239
Fast enough for me. (MacBookPro5,5 + aftermarket Samsung 470 SSD)Command-T is faster for sure. But it lacks critical features that Ctrl-P has (no vim -ruby dependency for one).
If I quit and restart vim, the Ctrl-P cache is invalidated thus it's scanning again, but it's down to 3~5s since disk reads got cached by the OS.