On Wed, Jan 19, 2011 at 10:04 PM, Johan Tibell <[email protected]> wrote: > On Wed, Jan 19, 2011 at 8:37 PM, Michael Snoyman <[email protected]> wrote: >> Isn't Simon Meier working on migrating his code from blaze-builder >> into binary? > > So I heard (although not directly from Simon). I think it would be > nice to port the blaze-builder implementation to binary, but to keep > binaries current interface (for now).
What's the advantage to moving in into binary as opposed to bytestring? >> I agree with John that it would make more sense to go in >> bytestring. Assuming that happens, would the builder from text end up >> being based on it? > > ByteString and Text don't share an underlying data structure at the > moment (one uses pinned ForeignPtrs and one unpinned ByteArray#s) so > they can use the same builder efficiently. Some day perhaps. I hadn't realized, I had just assumed it was using ByteString underneath. I'll pay more attention next time, thanks for informing me :). Michael _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
