ashvardanian / StringZilla

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 🦖
https://ashvardanian.com/posts/stringzilla/
Apache License 2.0
2.05k stars 66 forks source link

Using Chrome, Mozilla or some other major project for testing #83

Open ashvardanian opened 7 months ago

ashvardanian commented 7 months ago

StringZilla currently passes ASAN check, unit tests, and fuzzy tests across several programming languages for MacOS, Linux, and Windows on every PR. This, however, is not the same as taking a mature 20yo codebase and replacing all inclusions of std::string and std::string_view with sz::string and sz::string_view. On one side, it may make the target project noticeably faster. On the other side, it will help polish the rough corners, where we may not yet entirely match the C++ standard.

ashvardanian commented 4 months ago

If replacing the C++ namespace is too hard (requires recompiling after all), one can use LibSee to swap the LibC symbols and profile their usage 🤗