HashSet.threshold

Set the resize threshold, and resize as required

Time complexity: O(n)

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

Meta