Open turbanoff opened 1 year ago
Map.containsKey calls are often unnecessary. Depends on the code, we can:
use getOrDefault() if we have "fallback" value
I believe it simplifies code and makes it a bit faster.
Map.containsKey calls are often unnecessary. Depends on the code, we can:
use getOrDefault() if we have "fallback" value
I believe it simplifies code and makes it a bit faster.