Kinds of containers

Ulrich Küttler via Digitalmars-d digitalmars-d at puremagic.com
Mon Oct 26 12:31:25 PDT 2015


On Wednesday, 21 October 2015 at 18:49:26 UTC, Andrei 
Alexandrescu wrote:
> On 10/21/2015 12:25 PM, Jonathan M Davis wrote:
>> My experience with immutable containers is that their 
>> performance is
>> trash precisely because you can't mutate them.
>
> That's actually the experience in the Scala community. Over and 
> again people start with immutable containers all over the place 
> because they're cool, and end up with mutable containers 
> because they work. -- Andrei

Ranges and loops. Same story. Ranges are cool, loops get stuff 
done.



More information about the Digitalmars-d mailing list