Community
Participate
Working Groups
Created attachment 235745 [details] The proposed changes The current implementation always calls both internal.containsKey and internal.get which are essentially equality expensive. By calling get and checking for non-null and checking for containsKey only when null, will improve performance for the most common case where they key is present and the value is non-null.
Same solution can be applied to classes WeakCache and TripleKeyCache.
Pushed to master
Requested via bug 522520. -M.