On 9/15/07, Richard Fateman <fateman at cs.berkeley.edu> wrote:
> What percentage of the time do you expect to be writing or reading from
> fifos compared to computing?
I haven't tried this, but I wouldn't be surprised if parsing and unparsing
the data to be exchanged is a significant factor; this is aside from the time
spent actually copying the data from sender to recipient.
Depends, I guess, on the inputs and outputs in question.
An advantage of calling via FFI is that parsing and unparsing isn't needed.
FWIW
Robert Dodier