TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ripgrep now twice as fast on Apple Silicon with new aarch64 SIMD implementations

6 点作者 pinkbeanz超过 1 年前

1 comment

burntsushi超过 1 年前
Thanks for posting this, but I think this is mostly taken out of context. There are two really key bits here.<p>First is that this change is only in ripgrep on master. It&#x27;s not in a release. It will be in the next release. If you want this in your ripgrep, then `cargo install --git <a href="https:&#x2F;&#x2F;github.com&#x2F;BurntSushi&#x2F;ripgrep">https:&#x2F;&#x2F;github.com&#x2F;BurntSushi&#x2F;ripgrep</a> ripgrep` should do the trick. (Add `--features pcre2` if you want that.)<p>Second is that this make ripgrep around twice as fast for a certain (albeit pretty common) class of regexes. For example, it likely applies to the patterns `sherlock` and `\w+\s+sherlock\s+\w+`, but not to `sherlock|watson`. The latter uses a multi-substring search which isn&#x27;t SIMD-ified on aarch64 yet. (That is, loosely speaking, my next step. Then hopefully release ripgrep 14 soon there after.)