On 15/11/2009 20:47, dsimcha wrote:
2. Some things can't be iterated over as efficiently w/o control of the call stack. For example, iterating over trees w/ control of the call stack is easy and efficient. Iterating without control of the call stack requires a heap allocation for an explicit stack.
This is why we need std.collections. Simply as proof of product for ranges. Or as QA unit, if you prefer that.
