Hacker News new | ask | show | jobs
by anonymoushn 832 days ago
There isn't really a dependency there. You can scan for a bunch of delimiters and save a bunch of row start and end positions and process the rows from there.

If (unlike the solutions that won this challenge) you would like to use a hash that consumes all the bytes in the input, then scanning for all the delimiters and bucketizing strings by length also lets you avoid branch mispredictions caused by random lengths.