You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Java version they have one optimisation where they use lazySet which provides a store-store barrier rather than set which implies a full memory barrier.
atomic-primopsexposes some memory barriers from the RTS, could they be used together with IORefs to achieve better performance than atomics (while retaining correctness)?
The text was updated successfully, but these errors were encountered:
In the Java version they have one optimisation where they use
lazySet
which provides a store-store barrier rather thanset
which implies a full memory barrier.atomic-primops
exposes some memory barriers from the RTS, could they be used together withIORef
s to achieve better performance than atomics (while retaining correctness)?The text was updated successfully, but these errors were encountered: