Daniil Iaitskov
Daniil Iaitskov

Reputation: 6069

Haskell: How to adjust load-factor in HashMap in unordered-containers?

C++/Java hash maps have load factor parameter for adjusting map performance.

I wasn't able to find a trace of such parameter for HashMap from unordered-containers. fromList takes just a list with data.

Upvotes: 1

Views: 64

Answers (1)

amalloy
amalloy

Reputation: 92107

No such parameter exists, so you cannot tweak it. Just because some feature exists in a Java library does not mean that it will exist in an analogue in another language.

Upvotes: 4

Related Questions