lhotari commented on PR #23582:
URL: https://github.com/apache/pulsar/pull/23582#issuecomment-2470226882

   > HashMap<LongLongPair, Long>
   
   btw. In Fastutil, there's also Obj2LongMap interface which would be 
applicable in this case when the value is a `long`, for example using 
Object2LongOpenHashMap implementation. In Object2LongOpenHashMap, there's a 
`trim` method to reduce the size. I guess the benefit of 
ConcurrentLongLongPairHashMap is that it has the auto shrink feature.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to