<div class="gmail_quote">On Wed, Sep 8, 2010 at 12:05 PM, Duncan Coutts <span dir="ltr">&lt;<a href="mailto:duncan.coutts@googlemail.com">duncan.coutts@googlemail.com</a>&gt;</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 &lt;<a href="mailto:johan.tibell@gmail.com">johan.tibell@gmail.com</a>&gt; wrote:<br>
&gt; Btw, I see that the BA# constructor is not manually unpacked into the Array<br>
&gt; data type. Is that done automatically since ByteArray# is unlifted or is<br>
&gt; there some room for improvement here?<br>
<br>
</div>I&#39;m not sure what you&#39;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>