CalvinKirs commented on PR #880:
URL: 
https://github.com/apache/incubator-baremaps/pull/880#issuecomment-2175665857

   > @yagagagaga Thanks a lot, this is a good contribution. This part of the 
codebase really deserves more checks and tests.↳
   > 
   > Regarding the HashMap, this is what I used initially. However, when 
dealing with very large datasets (several billion records), the cost of 
computing the hash code when accessing the HashMap is noticeable compared to 
the direct memory access of an array. The size of the array can easily be 
mitigated by increasing the size of segments. Unfortunately, I had to remove 
the JMH benchmarks due to license compatibility requirements (JMH is released 
under the GPL). I would keep the array for now and reintroduce some sort of 
benchmarks if we need to use another data structure↳
   > 
   Hi @bchapuis We can definitely revert this change (re-add the benchmarking 
code module). I believe we were just using its API without copying its source 
code into our project, and we won't be distributing the JMH-related jars in the 
binary version.
   https://www.apache.org/legal/resolved.html#optional
   https://www.apache.org/legal/resolved.html#prohibited
   > To format the code, you need to execute `./mvnw spotless:apply`. Let me 
know if you need further assistance.
   
   


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