by danilonc · 2y ago · 0 comments
It seems ast-grep is more powerful if you don't exactly know how the code is structured.
There is some optimization to [skip parsing](https://github.com/ast-grep/ast-grep/blob/9f8ed5fb2abf35d928...) but generally I don't expect ast-grep can beat ripgrep or amber. (but sometimes ast-grep can beat grep due to parallel processing)