Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
I know that maybe we're speaking of a small amount of data, but ClassCacheImpl implementation based on array is not efficient at all; both get(Class) and put(Class, Object) methods have complexity O(n). Using a Map we can reduce the complexity to O(1)