[erlang-questions] "erl_drv_output_term" vs "driver_output_binary" ?

Frank Muller frank.muller.erl@REDACTED
Fri Jul 21 11:11:24 CEST 2017


Hi there,

I would like to know the difference between the two calls.

My linked-in driver has to send big (~4MB in average) binaries to the
Erlang owning process.

1. Which call is better suited from that ?
2. Does every binary gets copied or just reference counted?
3. Any better alternative to use?
4. Anything else I should be aware of?

Many thanks...
/Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170721/d5473c55/attachment.htm>


More information about the erlang-questions mailing list