The billion row challenge: splitting lines using SIMD in Rust 0 ▲ Andy Balaam's Blog 232 days ago · Tech · hide · Fediverse post I was scared to do it, but it was actually fine! This time we look at the quickest way to split up massive text files into separate lines, first by implementing our own zero-copy version of BufReader::lines and later using SIMD, which allows us to process 64 bytes simultaneously, using a single CPU instruction! I'm pretty sure this is the first time we've ventured into nightly Rust on this channel... Follow me on mastodon: @andybalaam@mastodon.social Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town