Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
becoming slow when searching long filenames #530
I have a repo of C/CPP/M/JS tree with about 100k files:
CtrlP works really well!
the only problem to report - the first 3-4 letters that i type in to search for a file, the UI responds almost immediately.
I would love to profile this, in order to understand why this is happening.
all this on a new retina MacBook Pro with a ssd drive, so i am assuming the hardware is not to blame for this.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
The longer the search string is, the further down the file list the matcher has to dig for results. Over 100k entries is a lot for a List. As said in the other issue, you'll have to use an external matcher written in a more suitable language. There are at least a few of these matchers around, last time I looked.