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.
