[Haskell-cafe] Data.ByteString.Lazy.ByteString vs Data.ByteString.Lazy.Internal.ByteString
aslatter at gmail.com
Thu Mar 17 07:13:37 CET 2011
On Thu, Mar 17, 2011 at 12:51 AM, C K Kashyap <ckkashyap at gmail.com> wrote:
> I had started exploring the internal - PS constructor route looking at the
> base64 encoding implementation by Bryan (which is really fast -
> )- I was wondering if we don't use the PS constructor can we implement
> base64 encoding that's comparable? I mean, can we create an asymptotically
> similar implementation?
I'm a fan of Data.ByteString.Unsafe.unsafeUseAsCStringLen when I need
access to the raw buffer.
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
More information about the Haskell-Cafe