Skip to content

Watcher release

Compare
Choose a tag to compare
@zeux zeux released this 21 Feb 05:28
· 109 commits to master since this release

This release brings performance improvements, better Windows path handling and new watch/change commands.

Watch mode

qgrep watch project now starts qgrep in the mode that watches changes to all folders in the project, marks the changed files as dirty (which leads to search commands reading actual file contents from disk) and periodically updates the pack to maintain high search performance.

qgrep change project file marks the file as dirty manually; this can be integrated into text editors so that files that are edited and saved are searched without having to run the watcher, for example in Vim you can now use the following command if you're using the qgrep.vim plugin:

au BufWritePost * call qgrep#change(expand('%'))

Windows path handling improvements

  • Improve support for Unicode paths on Windows
  • Implement special file name (e.g. aux.c) and long file path handling on Windows

Performance improvements

  • Substantially improve pack update performance under Windows Subsystem for Linux (up to 3x faster)
  • Improve incremental pack update performance (up to 2x faster)
  • Improve pack clean build performance (up to 50% faster)
  • Update lz4 to a recent version, making search faster (up to 20% faster on complex queries)