Passing in options: Maps vs. Keyword lists

Thanks for summarizing it!

I was actually the one asking José that question there, thanks to this thread :grin:

Link to the moment in the Q&A for future reference: https://www.youtube.com/watch?v=2Vhd5fw59UY&t=1116s

As a bit of input here, I don’t think performance is or will be an issue. Even erlang maps are internally represented as lists until there is a map size of 32 iirc. Reason being, hashing is expensive and so for small maps a linear search is actually faster. Since I don’t hope many people pass along more than 30 (I hope more than 5) options, performance should be the same/comparable.

4 Likes