[Haskell-beginners] how more efficient read/write a file ?
Benjamin Edwards
edwards.benj at gmail.com
Sat Sep 24 11:01:39 CEST 2011
You should look up bytestring and friends on hackage.
If it is something quite simple you can use the lazy variants and provided
that you don't try to hold onto the input you should get nice constant space
without trying too hard.
I recommend the early chapters on IO in real world haskell if you want more
info on lazy IO.
On 24 Sep 2011 03:06, "anyzhen" <jiangzhen3s at qq.com> wrote:
> consider this :
> i want load a 4G file(or some bigger file) ,and the process data operation
just like 010 to 101( XOR bits ) , is it some efficient function down it ?
> such hPutStr hPutChar is Char layer , is exist bit layer operations?
>
>
> thanks for any help
>
>
> jiangzhen3s at qq.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20110924/f8d34b67/attachment.htm>
More information about the Beginners
mailing list