[Haskell-cafe] String vs ByteString

Pierre-Etienne Meunier pierreetienne.meunier at gmail.com
Fri Aug 13 10:03:17 EDT 2010


Why don't you use the Data.Rope library ?
The asymptotic complexities are way better than those of the ByteString functions.


El 13/08/2010, a las 07:32, Erik de Castro Lopo escribió:

> Hi all,
> I'm using Tagsoup to strip data out of some rather large XML files.
> Since the files are large I'm using ByteString, but that leads me
> to wonder what is the best way to handle clashes between Prelude
> functions like putStrLn and the ByteString versions?
> Anyone have any suggestions for doing this as neatly as possible?
> Erik
> -- 
> ----------------------------------------------------------------------
> Erik de Castro Lopo
> http://www.mega-nerd.com/
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list