Closed ybingHuang closed 7 months ago
@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.
python scripts/bench.py --haystack_pattern "你好,StringZilla" --haystack_length 1e9 --needle "你好abce"