On Thu, Mar 29, 2012 at 9:01 AM, Gregory Collins <greg@gregorycollins.net> wrote:
This is true, although using bits-atomic does a function call (i.e the calls are not inlined), which would be pretty bad for performance.On Thu, Mar 29, 2012 at 6:57 AM, Ryan Newton <rrnewton@gmail.com> wrote:The ByteArray versions will be more annoying, requiring more variations, but they are also less essential, because the user can always use ForeignPtr and bits-atomic in this case, and I believe for our concurrent data structures we want to store arbitrary pointers (hence casArray#).