About Map, Hashtbl, Set, Belt.HashMap, Belt.HashSet, Belt.Map, Js.Dict etc


#1

Which one should I choose? From performance and structure considerations.

I can see Hashtbl & Map difference by “Real world Ocaml” but not idea for others.


#2

Having played around with Reason for about a week now this has been a huge source of confusion. I really hope the https://reasonml.github.io/docs/ docs would address these collection types somehow, particularly as their APIs are pretty unique. At least in my case I ended up hunting down the answer from Stack Overflow.