At which point should I use Map.merge?

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. :slight_smile:

8 Likes