There is now enough infrastructure to implement Map.merge() using primitive functions. There could be three versions, similarly to computeIfAbsent(): one using the closest JDK match, one using a map returning objects (nullable), and one using fastutil functions and exploiting containsKey(). See also #208 .
There is now enough infrastructure to implement Map.merge() using primitive functions. There could be three versions, similarly to computeIfAbsent(): one using the closest JDK match, one using a map returning objects (nullable), and one using fastutil functions and exploiting containsKey(). See also #208 .