I have a problem where I was unable to apply the methods provided by Zip and therefore decay that into a Parallellterator to be able to use arbitrary fold and reduce operations. Due to the large size of the temporary arrays, I would like to use Rayon's with_min_len to avoid the Zip being split too often (and thereby allocating too many temporary arrays). However, this method is only available on IndexedParallelIterator instances which Zip is not. This seems to be related to Zip also not implementing IntoIterator in contrast to over NdProducers.
Is there a fundamental issue which prevents providing those traits for Zip (After all, it does implement SplitAt and provides a size method.) or is this just not yet implemented?
I have a problem where I was unable to apply the methods provided by
Zipand therefore decay that into aParallellteratorto be able to use arbitraryfoldandreduceoperations. Due to the large size of the temporary arrays, I would like to use Rayon'swith_min_lento avoid theZipbeing split too often (and thereby allocating too many temporary arrays). However, this method is only available onIndexedParallelIteratorinstances whichZipis not. This seems to be related toZipalso not implementingIntoIteratorin contrast to overNdProducers.Is there a fundamental issue which prevents providing those traits for
Zip(After all, it does implementSplitAtand provides asizemethod.) or is this just not yet implemented?