You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/02 19:41:03 UTC

[GitHub] [arrow-datafusion] metesynnada commented on pull request #4079: Replace RwLock and Mutex by using DashMap

metesynnada commented on PR #4079:
URL: https://github.com/apache/arrow-datafusion/pull/4079#issuecomment-1301132871

   > I'm surprised any of these data structures are contended, and so dashmap is unlikely to yield benefits here? It may even be slower.
   > 
   > Do you have any benchmark results you could share?
   
   Actually, it is better in most use cases. You can [check ](https://github.com/xacrimon/conc-map-bench). It is quite similar to Java's [ConcurrentHashMap](https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html).


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org