On 5/10/2015 1:18 AM, Russel Winder via Digitalmars-d wrote:
Using LDC, the tuple version generates more code unoptimized, but with optimization, the exact same assembly language code is generated for the two cases.Win.
This is what makes D's ranges+algorithms so attractive. They are easier to write correct code in, and when optimized produce the same code.
