One minor code-golf: anytime you see Enum.map |> Map.new/1 you can use Map.new/2 instead.
I doubt there’s a material performance difference (it’s still :maps.from_list/1 ultimately building the output) but it’s definitely less characters ![]()
One minor code-golf: anytime you see Enum.map |> Map.new/1 you can use Map.new/2 instead.
I doubt there’s a material performance difference (it’s still :maps.from_list/1 ultimately building the output) but it’s definitely less characters ![]()