Kinds of containers

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Oct 21 15:39:25 PDT 2015


On 10/21/2015 06:04 PM, Timon Gehr wrote:
> Good point, but might it not be the case that alternative
> implementations of some operations are faster for a small number of
> elements?

A container could take advantage of the knowledge for both layout and 
primitives implementation. As I like to say in one of my seminar: "Few 
elements mean structure". -- Andrei


More information about the Digitalmars-d mailing list