franz1981 commented on pull request #3363:
URL: https://github.com/apache/activemq-artemis/pull/3363#issuecomment-740439964


   @clebertsuconic 
   > Franz I need a lecture on the BoxedInt logic thing you did.. I can't put 
my head around it...
   
   Yep, we can have a meet so I can explain the JMH + flamegraphs bits as well, 
If you like (opened to the rest of community if anyone want to attend)
   
   > isn't there a way to reuse some logic between Persistent and InMemory 
duplicate cache?
   
   I have tried hard, and I can try even harder too, but I see some benefits 
from this: is more easy to be understood and the dependencies and data types 
used clearly reflect the needs eg no storage manager is needed for the in 
memory case and same for recordID on the ObjLong pair. This both make the code 
simpler to be understood and more performant & with much less memory footprint.
   
   I can try collect some of the shared functionalities into some static method 
or abstract class if it's worthy.
   
   


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