[Haskell-cafe] ByteString.getContents fails for files >2GB on OS X
Shaun Jackman
sjackman at gmail.com
Fri Jun 22 01:55:44 CEST 2012
System.IO.MMap (mmapFileByteString) worked like a charm in loading
files larger than 2 GB on OS X. Using mmapFileByteString and strict
ByteString is roughly seven times faster for my program than using
getContents and ByteString.Lazy.
Cheers,
Shaun
On 11 June 2012 07:08, Gracjan Polak <gracjanpolak at gmail.com> wrote:
> Gregory Collins <greg <at> gregorycollins.net> writes:
>
>>
>>
>> Try http://hackage.haskell.org/package/bytestring-mmap ?
>
> Or:
>
> http://hackage.haskell.org/package/mmap
>
> --
> Gracjan
>
>
>
> _______________________________________________
> 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