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

Time:11-24

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.

CodePudding user response:

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.

  • Related