mapdb
mapdb copied to clipboard
Eclipse collections dependency
I just went through all dependencies for my application, and eclipse-collections
stands out with whopping 10.2 MB, or about the third of my total application size. And if I tracked it down correctly, this dependency got included because I use MapDB
. Is there any way to get rid of it? I already depend on guava
and apache-commons
, I don't need a third collections library, especially if it has four times (!) the size of the others.
Agrona may be an option:
https://github.com/real-logic/agrona/tree/master/agrona/src/main/java/org/agrona/collections
https://github.com/real-logic/agrona/tree/master/agrona/src/test/java/org/agrona/collections
It has quite a lot overlap of buffer management, i.e. it contains not only collections, but looks like much slimmer (jar (248 KB) )
option for primitive collections.