HashMap.buckets

Set the number of buckets for the given threshold and resize as required

Time complexity: O(n)

  1. size_t buckets()
  2. HashMap buckets(size_t cap)
  3. HashMap buckets(size_t cap, float threshold)
    class HashMap(K, V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
    final
    buckets

Meta