Об этом проекте

dash-em is a specialized string manipulation library written in C, designed to remove em-dashes (U+2014) from UTF-8 encoded text. While the task itself is trivial, the library is engineered for maximum performance, utilizing SIMD instructions (AVX-512, AVX2, SSE4.2, NEON) to accelerate the search and replacement process. The library includes bindings for over 20 programming languages, including JavaScript, Python, Go, Rust, and Java, allowing developers to integrate this high-speed functionality into their applications. Benchmarks show that dash-em can process data at speeds up to 42 GB/s, providing a significant speedup compared to standard string manipulation methods in languages like Python and JavaScript.