Closed chipsenkbeil closed 3 years ago
Tried it out in a local branch for vimwiki-cli and did not seem to help, which is surprising as I assumed a thread pool would be able to tackle multiple files.
Either it doesn't work well with file I/O or there is something else going on. Going to close out
Rather than sequentially parsing files with the vimwiki-server, it could be a performance improvement to leverage https://github.com/rayon-rs/rayon to do the work. It isn't the same as futures in that it uses a thread pool to split up work rather than a future that would consume the active thread until paused.