franz1981 commented on a change in pull request #3363:
URL: https://github.com/apache/activemq-artemis/pull/3363#discussion_r533068562



##########
File path: 
artemis-server/src/main/java/org/apache/activemq/artemis/core/postoffice/impl/DuplicateIDCacheImpl.java
##########
@@ -69,11 +93,24 @@ public DuplicateIDCacheImpl(final SimpleString address,
 
       ids = new ArrayList<>(size);
 
+      cachedBoxedInts = boxedInts(size);

Review comment:
       I've removed the last commit including the bespoke primitive map: seems 
that I cannot beat CHM (not a surprise) due to open-addressing nature of the 
version I've built. Big sized maps, almost full, work best with closed 
addressing and that's exactly the use case of CHM.




----------------------------------------------------------------
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.

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


Reply via email to