Comments on: Anatomy of an MVar operation http://blog.ezyang.com/2013/05/anatomy-of-an-mvar-operation/ Existential Pontification and Generalized Abstract Digressions Sun, 01 Jan 2017 16:49:16 +0000 hourly 1 https://wordpress.org/?v=4.5.2 By: Demi Marie http://blog.ezyang.com/2013/05/anatomy-of-an-mvar-operation/comment-page-1/#comment-21425 Sat, 15 Oct 2016 00:19:09 +0000 http://blog.ezyang.com/?p=8282#comment-21425 I wonder how much of the delay is for the GC write barrier

]]>
By: jberryman http://blog.ezyang.com/2013/05/anatomy-of-an-mvar-operation/comment-page-1/#comment-6446 Thu, 06 Mar 2014 00:29:44 +0000 http://blog.ezyang.com/?p=8282#comment-6446 Thanks for writing this up. FWIW with the improvements in MVar operations in ghc 7.8 I measure a put+takeMVar at 14.3ns vs 11ns for a write+readIORef, with creation being about equal; so not currently particularly slow in comparison to anything capable of replacing it (of course my measurements may be nonsense).

]]>