On 9/10/10 2:48 PM, Philippe Sigaud wrote:
On Wed, Sep 8, 2010 at 16:07, David Simcha <[email protected] <mailto:[email protected]>> wrote: Looks good. I like that Zip now uses a tuple instead of that ugly oddball Proxy struct, Cool. That's good to know. Proxy didn't play nice with other algo/ranges. Zip is much better! Now, we can iterate on n ranges in parallel. I'm looking at .back/popBack and wondering whether the behaviour should be different for the three length options. If you stop the iteration at the shortest range, back cannot just return the grouped backs from the input ranges. It must determine the shortest one and truncate the other accordingly.
Zip can determine the shortest range and truncate the rest only if all ranges support length and slicing.
Andrei _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
