On Sun, Mar 18, 2012 at 12:02 AM, Michael Snoyman <mich...@snoyman.com>wrote:
> > OK, issue created: https://github.com/bos/text/issues/19 I fixed the too-much-inlining bug<https://github.com/bos/text/commit/2b2cb084c4689c06f1a7851ff8eb1e412eb02c1b>tonight. As a bonus, Text literals are now decoded straight from GHC's packed encoding, without an intermediate step through String. Generated code now looks like this at -O and above: $ ghc -O -ddump-simpl -c CS.hs CS.foo :: Data.Text.Internal.Text [GblId, ...] CS.foo = Data.Text.unpackCString# "x\NULy"
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe