Yes, that's a shame that Java doesn't have out of the box (no pun intended)
support for collections of primitive types.

+1

On Fri, May 1, 2020 at 12:13 PM nigro_franz <[email protected]> wrote:

> Hi,
>
> Recently I am struggling to reduce the memory footprint while loading the
> Artemis journal, mostly due to a Java limitations of providing efficient
> data-structures using primitive types.
> In particular I would like a linked hash map implementation using long keys
> and I am aware only of http://fastutil.di.unimi.it/ that implement it.
> I think we have many parts in the code that would benefit from saving
> Long/Integer boxed types to lower the memory footprint of the broker, but
> such library is a 18 MB jar...!!!!
> I am +1 to use it and will soon send a PR to show the benefits but I am
> open
> to discuss/vote any opinion
>
> Thanks,
> Franz
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-Dev-f2368404.html
>

Reply via email to