Of course gripgen can do it after it reads entire list, thus feeding it with find will not show you percentages until find ends. Excluding binary files might help, I guess.Īnd since file list is read asynchronously, now I could print pretty percentage progress. It looks like Defender is scanning every file that I am opening for indexing. And under Windows indexing is painfully slow due to Windows Defender (at least during my test on Windows 10). Unfortunately, mechanical drive is usually the bottleneck itself, so it will be not much difference. As a result indexing over SSD drive is several times faster. Also memory organisation was changed to play nicer with cache. Now reading file names is not blocking indexer. There is also significant performance improvement of index generation (gripgen). I will probably replace it with Boost code, eventually. This version could have issues when grepping file with lines longer than 16 kB due to my simplified implementation of getline. ![]() There are build for Windows in the release page. Now it could be used with Boost library, as alternative to POSIX. Recently I was working on my indexed grep.
0 Comments
Leave a Reply. |