<div class="gmail_quote">On Wed, Sep 8, 2010 at 12:05 PM, Duncan Coutts <span dir="ltr"><<a href="mailto:duncan.coutts@googlemail.com">duncan.coutts@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 8 September 2010 10:56, Johan Tibell <<a href="mailto:johan.tibell@gmail.com">johan.tibell@gmail.com</a>> wrote:<br>
> Btw, I see that the BA# constructor is not manually unpacked into the Array<br>
> data type. Is that done automatically since ByteArray# is unlifted or is<br>
> there some room for improvement here?<br>
<br>
</div>I'm not sure what you're referring to here, the definition is:<br>
<br>
data UArray i e = UArray !i !i !Int ByteArray#<br>
<br>
The ByteArray# is an unlifted type (but its representation is a<br>
pointer to a heap object).<br></blockquote><div><br>The BA# constructor also includes a length field. My question is whether that gets unpacked into the Array constructor (as in Data.Text.Array, not UArray).<br><br>-- Johan<br>
<br></div></div>