Validating UTF‐8 in less than one instruction per byte
Authors:
- 29 October 2020
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 51 (5) , 950-964
Abstract
The majority of text is stored in UTF‐8, which must be validated on ingestion. We present the lookupalgorithm, which outperforms UTF‐8 validation routines used in many libraries and languages by more than 10 times using commonly available single‐instruction‐multiple‐data instructions. To ensure reproducibility, our work is freely available as open source software.Keywords
All Related Versions
Funding Information
- National Research Council Canada (RGPIN‐2017‐03910)
This publication has 16 references indexed in Scilit:
- 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
- Faster Base64 Encoding and Decoding Using AVX2 InstructionsACM Transactions on the Web, 2018
- Scientific benchmarking of parallel computing systems2015
- Software Internationalization and Localization: An Industrial Experience2013
- Improving Energy Efficiency through Parallelization and Vectorization on Intel Core i5 and i7 Processors2012
- High performance XML parsing using parallel bit stream technology2008
- Auto-vectorization of interleaved data for SIMDACM SIGPLAN Notices, 2006
- Reducibility among Combinatorial Problems1972