The compiler transforms your Map.put into a Map.merge and then transform the Map.merge into a VM operation. So both should be quite fast… so choose which ones reads better because…
…very unlikely.
The compiler transforms your Map.put into a Map.merge and then transform the Map.merge into a VM operation. So both should be quite fast… so choose which ones reads better because…
…very unlikely.