On 06/22/2013 10:58 PM, monarch_dodra wrote: > I mean that once you have an iota=>map=>filter=>whatnot... > > This scales well with ranges. With iterators though, you increase the > complexity > by 2 (front + back iterator) for every level. This ends up making the checks > more expensive they they should be, when the iteration scheme doesn't actually > need an "end" to know it has already reached it. > > Not sure that's very clear...?
Clear enough :-) > Not sure what example you are referring to, but a more complete thread about > it > was here: > The rfind challenge > http://forum.dlang.org/thread/[email protected] > > long story short: we don't have rfind. C++ does. Oh, I see. Different problem from what I thought you were asking. I must have missed that discussion when it came around the first time.
