essobedo commented on PR #22311:
URL: https://github.com/apache/camel/pull/22311#issuecomment-4221509623

   Cross-posting:
   
   > Thanks for the feedback. Regarding your comment about the last changes 
that are not updated on remove, it is intended in this "basic" implementation 
of an LRU cache to have a remove with a time complexity of O(1). IMHO, we 
should propose a real alternative based on Caffeine 
[caffeine-lrucache](https://camel.apache.org/components/3.22.x/others/caffeine-lrucache.html)
 and/or Guava, proposing a non thread-safe alternative based on a LinkedHashMap 
as it was before sounds more like a workaround than a real solution, but it is 
only my point of view.


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