Re: [elixir-core:10672] Add support for simultaneously updating multiple key-value pairs in maps and keyword lists

2021-12-30 Thread José Valim
Don’t benchmark in the shell. Code in the shell is evaluated and not compiled. On Fri, Dec 31, 2021 at 00:14 Paul Alexander wrote: > Thanks for offering your opinion, José. I very much understand where > you're coming in regards to using Enum.reduce/3 for such an operation, but > I have found

Re: [elixir-core:10672] Add support for simultaneously updating multiple key-value pairs in maps and keyword lists

2021-12-30 Thread Paul Alexander
Thanks for offering your opinion, José. I very much understand where you're coming in regards to using Enum.reduce/3 for such an operation, but I have found it to cause a fair amount of needless overhead especially when there are other operations going on and the updating should be the most