Transcoding Billions of Unicode Characters per Second with SIMD Instructions
arXiv:2109.10433 · doi:10.1002/spe.3036
Abstract
In software, text is often represented using Unicode formats (UTF-8 and UTF-16). We frequently have to convert text from one format to the other, a process called transcoding. Popular transcoding functions are slower than state-of-the-art disks and networks. These transcoding functions make little use of the single-instruction-multiple-data (SIMD) instructions available on commodity processors. By designing transcoding algorithms for SIMD instructions, we multiply the speed of transcoding on current systems (x64 and ARM). To ensure reproducibility, we make our software freely available as an open source library.
arXiv commentSoftware: https://github.com/simdutf/simdutf
References in corpus (6)
- Faster Population Counts Using AVX2 Instructions
- Stream VByte: Faster Byte-Oriented Integer Compression
- A General SIMD-based Approach to Accelerating Compression Algorithms
- Faster Base64 Encoding and Decoding Using AVX2 Instructions
- Validating UTF-8 In Less Than One Instruction Per Byte
- Upscaledb: Efficient Integer-Key Compression in a Key-Value Store using SIMD Instructions