adamreeve commented on PR #8671:
URL: https://github.com/apache/arrow-rs/pull/8671#issuecomment-3430251860

   > We just need to decide what to do with hash map
   
   I've updated this to be more accurate and tried to match the actual hashmap 
implementation more closely without replicating all the details exactly. Eg. it 
doesn't account for some alignment calculations and the group size is 
architecture dependent so this might be an overestimate.
   
   The calculation of the number of buckets could maybe be simplified further, 
but I felt like small hash maps would be quite common so I didn't want to 
overestimate this too much.
   
   This does feel a bit too complex, but then changing the memory 
characteristics of the standard HashMap type seems like something that 
shouldn't happen often so maybe this is OK...


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