Range returning an array

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Apr 11 03:18:40 PDT 2013


On 04/10/2013 08:22 PM, Jesse Phillips wrote:
> I'm pretty sure he realizes this, his original code shows how he is doing this.
> He expects 'output' to hold the final front value, but instead it holds the
> empty "value."
> 
> Joseph, I think you will have to profile to decide which is the fastest for your
> use case.

Agree.  I do also see the risks in these assumptions with respect to front --
they can be safely worked around within my code but it's not a very friendly
construction to put in front of other people.



More information about the Digitalmars-d-learn mailing list