HashMap.threshold

Return the current load factor threshold

The Hash table occasionally checka against the load factor resizes itself if it has gone past it.

Time complexity: O(1)

  1. float threshold()
    class HashMap(K, V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
    final const
    float
    threshold
    ()
  2. void threshold(float desired)

Meta