Array, AA Implementations

Piotrek starpit at tlen.pl
Mon Oct 19 13:07:01 PDT 2009


dsimcha pisze:
> 3.  An implementation I call StaticAA, which does not allow the addition or
> removal of keys after it is constructed, but in exchange has almost zero space
> overhead and is very GC-efficient.  It works by maintaining sorted parallel
> arrays and using binary search.

Can immutable attribute be used for it? I mean for determine when create 
StaticAA like array.

Cheers
Piotrek



More information about the Digitalmars-d mailing list