Follow

I wish (the concurrent iterator library) had functionality for obtaining a sorted sequential iterator on the results of a parallelized map. For a large enough data-set, the completion order of the tasks will be close-enough to sorted that you can do this with much less memory overhead than calling `.collect::<Vec<_>>` on the ParallelIterator.

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!