Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging NEON, AVX2, AVX-512, and SWAR to accelerate search, sort, edit distances, alignment scores, etc 🦖
We may want to extend the c/lib.c to override some of the most commonly used LibC operations, that StringZilla may be better equipped to handle. This includes:
memmem and memchr - definitely
memcpy, memmove, memset - possibly
memrchr - GNU extension for reverse-order memchr
memfrob - GNU extension with the sz_generate random generator
If we can afford a strlen call before the operation, several other APIs and GNU extensions can be replaced.
We may want to extend the
c/lib.c
to override some of the most commonly used LibC operations, that StringZilla may be better equipped to handle. This includes:memmem
andmemchr
- definitelymemcpy
,memmove
,memset
- possiblymemrchr
- GNU extension for reverse-ordermemchr
memfrob
- GNU extension with thesz_generate
random generatorIf we can afford a
strlen
call before the operation, several other APIs and GNU extensions can be replaced.