I’m using Sublime Text 3.2.2 3211 (win64) to do something like
grep -r 'SomeFuntionName' ., namely ‘Find in Files… Ctrl+Shift+F’.
For hundreds of files, it works fast and well.
However, occasionally I need to find something like a function definition in thousands of files, it can take much longer than expected even when all files are preloaded in memory.
Observed with taskmgr, when Sublime Text is doing the search, disk I/O is low, CPU usage about to one core, it looks like only a single thread is being used to run the search job.
Right now it takes 30 seconds to search 100,000 files. The total file size is about 3 GB.
Can it be configured to use more CPU cores for searching?
OS: Windows Server 2019.
Defender is uninstalled and no AV.
Machine is not connected to the Internet.
Files are a bunch of c/cpp source code.
Any suggestions would be appreciated.