I made project-wide search in my text editor asynchronous so results stream in from worker threads without blocking the main thread. However, searching is so fast that it finishes before the next frame renders, even on the largest project I work on, so it was entirely wasted effort.

@jsbarretto try it on a large project with a cold cache. Then it will take some time. Helix has that and it's very useful. On large projects (or even directories), the results come slowly and it's really helpful for it not to freeze.

Also you'll love it the day you start working on a slow network filesystem like sshfs.

@sgued The only way I can tell that it's working has been to manually tell Linux to drop its fs cache!