Lots of low hanging fruit in Phobos

Timon Gehr timon.gehr at gmx.ch
Fri Mar 7 16:14:29 PST 2014


On 03/07/2014 02:37 AM, H. S. Teoh wrote:
> Unfortunately, input ranges are somewhat tedious to write -- nice
> foreach loops have to be broken up into .empty, .front, .popFront, which
> is a lot of boilerplate code and not so nice in inner loops (though I
> suppose the idea is to improve compiler inlining to handle these cases).

I think that the separation of front and popFront causes much of this.


More information about the Digitalmars-d mailing list