You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert getOrDefault() calls that create collections to computeIfAbsent(). (#10431)
Convert getOrDefault() calls that create collections to computeIfAbsent(). These are cheaper since the empty collections are not constructed if present and can avoid an extra put() call afterward, since computeIfAbsent() will add the new value, unlike getOrDefault().
0 commit comments