thomasmueller commented on PR #2212:
URL: https://github.com/apache/jackrabbit-oak/pull/2212#issuecomment-2783513924

   > > Possibly memory usage could be much higher than with the current 
ImmutableSet.
   > 
   > ...because?
   
   Because the hash table implementation is very different. Guava seems to use 
an open-addressing hash table (power of 2 sized) with linear probing, where 
entries are very small. Java internally (inside of LinkedHashSet) uses a 
HashMap that uses separate chaining.... 
   
   Did someone test memory usage?


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