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.

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!