Validating UTF-8 In Less Than One Instruction Per Byte
Authors:
Preprint
Abstract
The majority of text is stored in UTF-8, which must be validated on ingestion. We present the lookup algorithm, which outperforms UTF-8 validation routines used in many libraries and languages by more than 10 times using commonly available SIMD instructions. To ensure reproducibility, our work is freely available as open source software.Keywords
All Related Versions
This publication has 10 references indexed in Scilit:
- Vectorization cost modeling for NEON, AVX and SVEPerformance Evaluation, 2020
- Base64 encoding and decoding at almost the speed of a memory copySoftware: Practice and Experience, 2019
- Parsing gigabytes of JSON per secondThe VLDB Journal, 2019
- Scylladb optimizes database architecture to maximize hardware performanceIEEE Software, 2019
- Fuchsia OS - A Threat to AndroidIITM Journal of Management and IT, 2019
- Faster Base64 Encoding and Decoding Using AVX2 InstructionsACM Transactions on the Web, 2018
- The ARM Scalable Vector ExtensionIEEE Micro, 2017
- Instant loading for main memory databasesProceedings of the VLDB Endowment, 2013
- Auto-vectorization of interleaved data for SIMDACM SIGPLAN Notices, 2006
- Reducibility among Combinatorial Problems1972