by jkot · 11y ago · 0 comments
I wrote Map<String,String> which does this transparently, and it consumes about 5x less memory compared to HashMap<String,String>.
[1] https://bugs.openjdk.java.net/browse/JDK-8054307 [2] http://shipilev.net/blog/2015/black-magic-method-dispatch/