API
Adam D. Ruppe via Digitalmars-d
digitalmars-d at puremagic.com
Mon May 5 17:37:17 PDT 2014
On Tuesday, 6 May 2014 at 00:31:04 UTC, bearophile wrote:
> This is OK if "make" recognizes the repeat.take type statically
> and uses this information to allocate the array efficiently.
I don't think it needs any special beyond hasLength!T so it can
allocate it all in one go, so it wouldn't be specialized on Take
specifically, just anything with an explicit length property.
More information about the Digitalmars-d
mailing list