www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Fastest Way to Append Multiple Elements to an Array

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)?
Apr 10 2021