rehash

fnValue[Key] rehash(Value, Key)(Value[Key] aa)

Reorganizes the associative array in place so that lookups are more efficient.

Parameters

aaThe associative array.

Returns

The rehashed associative array.

Note

emulated by the compiler during CTFE
fnValue[Key] rehash(T : Value[Key], Value, Key)(T * aa)

ditto

fnValue[Key] rehash(T : shared Value[Key], Value, Key)(auto ref T aa)

ditto

fnValue[Key] rehash(T : shared Value[Key], Value, Key)(T * aa)

ditto