On Thu, Mar 29, 2012 at 6:57 AM, Ryan Newton <rrnew...@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#).
>

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.

G
-- 
Gregory Collins <g...@gregorycollins.net>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to