Unsurprisingly, this bit is where all the work is going in my current benchmarks. There is a fair amount of duplicate intermediate state being produced by the flatMap that is potentially vectorizable.