The OpenD Programming Language

rehash

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

  1. T rehash(T aa)
  2. T rehash(T* aa)
    T
    rehash
    (
    T : Value[Key]
    Value
    Key
    )
    (
    T* aa
    )
  3. T rehash(T aa)
  4. T rehash(T* aa)

Parameters

aa T*

The associative array.

Return Value

Type: T

The rehashed associative array.

Meta