Create a Map that can hold n unique keys without resizing itself.
Create a Map that can hold n unique keys without resizing itself.
Note that the internal representation will allocate more space than requested to satisfy the requirements of internal alignment. Map uses arrays whose lengths are powers of two, and needs at least 33% of the map free to enable good hashing performance.
Example: Map.ofSize[Int, String](100).