[Haskell-cafe] Efficient string output

Ketil Malde ketil at malde.org
Mon Feb 9 07:22:57 EST 2009

Johan Tibell <johan.tibell at gmail.com> writes:

> Is building the strict ByteString what takes the most time? 


> If so, you might want to use `writev` to avoid extra copying. 

Is there a Haskell binding somewhere, or do I need to FFI the system
call?  Googling 'writev haskell' didn't turn up anything useful.

> Does your data support incremental processing so that you could
> produce output before all input has been parsed?

Typically, yes.

If I haven't seen further, it is by standing in the footprints of giants

More information about the Haskell-Cafe mailing list