currently I'm working with an ArrayListMultiMap
of Guave where I handle over 100.000 items. The key of the map is a byte array
, the values are long
.
Now I want to reduce the overhead.
My idea is to use only primitive collections and the hashmap of trove
. So in the end each key (byte array) points to a primitive collection (primitive long set).
My question is how to use a byte array as key in a THashmap. In Guave I wrapped the byte array in a class, but this produces overhead.
thank you