<p><br>
On Apr 8, 2012 8:47 AM, "Bryan O&apos;Sullivan" <<a href="mailto:bos@serpentine.com">bos@serpentine.com</a>> wrote:<br>
><br>
> On Sun, Mar 18, 2012 at 12:02 AM, Michael Snoyman <<a href="mailto:michael@snoyman.com">michael@snoyman.com</a>> wrote:<br>
>><br>
>><br>
>> OK, issue created: <a href="https://github.com/bos/text/issues/19">https://github.com/bos/text/issues/19</a><br>
><br>
><br>
> I fixed the too-much-inlining bug tonight. As a bonus, Text literals are now decoded straight from GHC's packed encoding, without an intermediate step through String.<br>
><br>
> Generated code now looks like this at -O and above:<br>
><br>
> $ ghc -O -ddump-simpl -c CS.hs<br>
> CS.foo :: Data.Text.Internal.Text<br>
> [GblId, ...]<br>
> CS.foo = Data.Text.unpackCString# "x\NULy" </p>
<p>This looks great Bryan, thank you!</p>
<p>Michael</p>