Content-Length: 277586 | pFad | http://github.com/vim-ctrlspace/vim-ctrlspace/issues/281

8D Full update to README.md · Issue #281 · vim-ctrlspace/vim-ctrlspace · GitHub
Skip to content

Full update to README.md #281

@jyscao

Description

@jyscao

The current recommendation for g:CtrlSpaceGlobCommand in the README is to use ag. Better tools now exist since CtrlSpace first came into being, and either rg or fd should be recommended to users instead.

Some very coarse benchmarks from my machine (CPU: Intel i5-6200U (4) @ 2.80GHz) on the current Linux source code:

  • $ time ag -l -g "" | wc -l --> 70317 files found, wall-clock time of 0m0.545s
  • $ time rg --files | wc -l --> 70588 files found, wall-clock time of 0m0.250s
  • $ time fd --type=file --color=never | wc -l --> 70588 files found, wall-clock time of 0m0.314s

Not only are rg and fd both faster than ag, they're also more accurate in regards to respecting .gitignore rules. The discrepancy in the number of files found b/w ag and the two newer tools come from additional .gitignore rules in the Linux source's .gitignore file, which contains the line !.gitignore, added so that # We don't want to ignore the following even if they are dot-files. Both rg and fd handle this special case correctly by globbing/finding these nested .gitignores inside of the Linux source, but ag incorrectly ignores them.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/vim-ctrlspace/vim-ctrlspace/issues/281

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy