From a4387ed491b5f85b6817310c3fa0f3d20960fdcc Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Mon, 18 Sep 2023 09:35:06 -0400 Subject: [PATCH] deps: bump to aho-corasick 1.1.0 This brings in aarch64 SIMD support for Teddy[1]. In effect, it means searches that are multiple (but a small number of) literals extracted will likely get much faster on aarch64 (i.e., Apple silicon). For example, from the PR, on my M2 mac mini: $ time rg-before-teddy-aarch64 -i -c 'Sherlock Holmes' OpenSubtitles2018.half.en 3055 real 8.196 user 7.726 sys 0.469 maxmem 5728 MB faults 17 $ time rg-after-teddy-aarch64 -i -c 'Sherlock Holmes' OpenSubtitles2018.half.en 3055 real 1.127 user 0.701 sys 0.425 maxmem 4880 MB faults 13 w00t. [1]: https://github.com/BurntSushi/aho-corasick/pull/129 --- Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d2b6401a6..259a7c21b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,9 +4,9 @@ version = 3 [[package]] name = "aho-corasick" -version = "1.0.5" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" +checksum = "0f2135563fb5c609d2b2b87c1e8ce7bc41b0b45430fa9661f457981503dd5bf0" dependencies = [ "memchr", ]