ashvardanian / StringZilla

Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging SWAR and SIMD on Arm Neon and x86 AVX2 & AVX-512-capable chips to accelerate search, sort, edit distances, alignment scores, etc 🦖

Home Page:https://ashvardanian.com/posts/stringzilla/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When I use chinese string to test bechmark, the performance is lower than python method

ybingHuang opened this issue · comments

python scripts/bench.py --haystack_pattern "你好,StringZilla" --haystack_length 1e9 --needle "你好abce"

stringlizza

@ybingHuang that is possible with your haystack. It fully benefits the Python string and completely disregards my optimizations. I have already tested an improved approach in another repo and will try to release it this month.

I am looking forward to the update ,thank you!

Hi, @ybingHuang! It's not the case anymore on the main-dev. Looking forward to release it soon.