On May 1, 2012, at 1:50 PM, Nick Sabalausky wrote:

> "jerro" <[email protected]> wrote in message 
> news:[email protected]...
>> On Tuesday, 1 May 2012 at 08:26:45 UTC, Nick Sabalausky wrote:
>>> A little write-up I just did on something I thought was pretty cool:
>>> 
>>> Combine Coroutines and Input Ranges for Dead-Simple D Iteration
>>> https://www.semitwist.com/articles/article/view/combine-coroutines-and-input-ranges-for-dead-simple-d-iteration
>> 
>> This is fun and all, but because of the horrible performance we really 
>> shouldn't be recommending people to use it.
> 
> So it is bad performance?

Compared to normal iteration schemes, yes.  It may be comparable to opApply in 
terms of performance though.  If you're curious, look at the Fiber context 
switching code (starting at switchIn and switchOut).

Reply via email to