is Associative Arrays good for integer type as key?

%u newbie at dd.com
Tue Nov 14 18:36:58 PST 2006


such as

int[short] hashtable;

where KeyType = short, and ValueType = int?

will this work? and as optimized (memory-wise, and CPU-wise)?

Thanks in advance for your conmments.



More information about the Digitalmars-d-learn mailing list