TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

6 pointsby pinkbeanzover 1 year ago

1 comment

burntsushiover 1 year ago
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.)