Proposal: takeFront and takeBack

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Thu Jul 5 05:40:47 PDT 2012


On 7/5/12 1:26 AM, Jonathan M Davis wrote:
> In any case, I guess that this shows that what we can get with popFront is so
> close to what consumeFront or StringCache would do that we might as well not
> bother with them, which is a _big_ surpise to me. It does pay to benchmark
> code though.

Good point. I think predicting what optimization does is an area in 
which I (probably with others too) have remained staunchly incompetent 
over years.

Andrei



More information about the Digitalmars-d mailing list