What features of D are you using now which you thought you'd never goint to use?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sat Jun 22 15:49:07 PDT 2013


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/kd2qok$16e6$1@digitalmars.com
> 
> 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.


More information about the Digitalmars-d mailing list