tweag/inline-java

Move the RWLock implementation in jni to use stm

facundominguez opened this issue · 0 comments

According to these benchmarks
https://codeburst.io/the-haskell-concurrency-primitive-shootout-538c21993f1c
stm is faster than IORefs, and more so in recent versions of GHC.