Fastest Way to Append Multiple Elements to an Array

Per Nordlöw per.nordlow at gmail.com
Sat Apr 10 23:52:06 UTC 2021


https://forum.dlang.org/post/rkxnfxsjvkffxufokzii@forum.dlang.org

On Thursday, 1 January 2015 at 19:18:34 UTC, Nordlöw wrote:
> Do we really need Append and Prepend (along with append and 
> prepend) here? Doesn't [cC]hain already fulfill the needs of a 
> lazy range in this case inplace of Append?

Is there still a place for `append` in Phobos?

What about reusing `chain(args)` for realizing 
append(Args...)(lhs, args)?


More information about the Digitalmars-d-learn mailing list