On Thu, Mar 06, 2014 at 01:26:46PM -0800, Walter Bright wrote: > A major goal for D in the short term is to reduce reliance in Phobos > on the GC. I was looking at std.string last night, and I noticed a > couple things: > > 1. The inputs are constrained to being strings. This is overly > restrictive, the inputs should be InputRanges. > > 2. The outputs should be a range, too. In fact, the string functions > should become algorithms. Then they won't need to allocate any > memory at all. [...]
What about using output ranges? T -- What do you call optometrist jokes? Vitreous humor.
