Faking SIMD to Search and Sort Strings 5x Faster
Faking SIMD to Search and Sort Strings 5x Faster
I want to share a really dumb, but very practical project I have packaged this summer, to perform operations on strings much faster. I was using Python to work with a multi-terabyte newline-delimited file. Reading, splitting, and shuffling it was a nightmare. So, I wrapped a trivial hardware-friendly heuristic I've been using for the last few years into a CPython library. The part I enjoyed the most is implementing SIMD behavior without SIMD instructions... Using 64-bit words to work at 8-bit granularity. Unlike conventional SIMD, the code would remain the same for ~~almost~~ any hardware. Let this library be a reminder of how awesome bit-level hacks are! Feel free to use it when working with CommonCrawl or any other sizeable textual dataset.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Correct prediction on native model
Similar products
A 70x faster and 5x smaller XSS sanitizer than DOMPurify
Faster than std:sort and pdqsort
TDD Screencast #2: Implementing Sort
Cluster-Sort
Search and sort npm by pagerank
QuadSort, Esoteric Fast Sort
1:1 text-acoustic alignment for 5x faster speech generation
TensorBase: 5x~10000x Faster Drop-In/Accelerator for ClickHouse in Rust
YouTube Sort by Likes
Search, Sort, Filter Prices from US Hospitals