3 ms·
Text processing. Loading/branching/storing content 1 byte at a time is the CPUs worst nightmare, but most text processing is quite tricky in SIMD.
by ashvardanian 1y ago
Text processing. Loading/branching/storing content 1 byte at a time is the CPUs worst nightmare, but most text processing is quite tricky in SIMD.
- MangoToupe 1y ago> where SIMD should be applied That seems to disqualify your example
- AlotOfReading 1y agoThere can be huge advantages to text processing in SIMD if you figure it out. Example, simdjson: https://github.com/simdjson/simdjson https://github.com/simdjson/simdjson
- ashvardanian 1y agoMaybe even better examples would be <https://github.com/intel/hyperscan https://github.com/intel/hyperscan>, <https://github.com/simdutf/simdutf https://github.com/simdutf/simdutf>, and my own <https://github.com/ashvardanian/StringZilla https://github.com/ashvardanian/StringZilla> :)