Mapping with partial

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Mar 30 11:34:18 PDT 2015


On Monday, 30 March 2015 at 18:29:32 UTC, matovitch wrote:
> I tried importing std.range and points.array works too.

Aye, that would work too, but the slice I think is more efficient 
as I'm pretty sure... not completely sure, but I think .array 
makes a copy of static arrays, whereas the slice doesn't.


More information about the Digitalmars-d-learn mailing list