Closed qixiaobo closed 7 years ago
Please try version 1.2
.
sorry ,error again
Could you please prepare a small self-contained reproducible example?
Thanks for you. You can get my github project https://github.com/qixiaobo/BigMemory/blob/master/src/main/java/com/best/config/Config.java I just want a high performance collection。 2_000_000 ops(always get)===》key size 200byte value size 200byte
Since I know the heap collection (with big data) may cause fullgc,then I tried mapdb, Chronicle-Map and so on. But they can't be very fast solutions. Then I tried SmoothieMap,oops,some errors above appear.I found that just hashmap(JFC) has very high performance .
Thandks
Please check 1.3
。。。。。。
mapInMemory.put(lines[0], lines[1]);
。。。。。。CharSequence value = mapInMemory.get((CharSequence) key);