Kinds of containers

safety0ff via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 22 07:37:32 PDT 2015


On Thursday, 22 October 2015 at 14:14:09 UTC, safety0ff wrote:
>
> I also like having an intrusive container library in my 
> toolbox: they don't limit membership to one container and they 
> don't "bake" memory management into the container type.
>

Also wanted to mention that this allows you to store variable 
sized data directly in the container without being forced to use 
a fixed size structure with a pointer to the variable portion. 
Which is useful for improving cache locality and reducing memory 
usage.


More information about the Digitalmars-d mailing list