On Tue, Mar 23, 2010 at 05:53:00PM +0000, Vincent Hanquez wrote:
> On 23/03/10 17:11, Iustin Pop wrote:
> >Data.ByteString.Lazy (bytestring readFile + length) -<  10 miliseconds,
> >incorrect length (as expected).
> >
> >Data.ByteString.Lazy.UTF8 (system readFile + fromString + length) - 11
> >seconds, correct length.
> 
> Why would you use system readFile and not bytestring readFile in the
> second case ?
> 
> using the later i got a ~48x slowdown, not a >1100x slowdown, and
> the length is correct too.

Hmm… because I didn't think of that :)

iustin
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to