erlang

Roberto Ostinelli ostinelli@REDACTED
Fri Jan 17 10:29:18 CET 2020


All,
What is the proper way to set a custom compression of term_to_binary/2 in a
specific send operation, so that I can use it only when I'm sending a
larger message (~80MB)?

Is this how I should do it, compressing and sending the compressed bytes
explicitly?

Bin = term_to_binary(Term, [{compressed, 9}]),
my_proc ! Bin

Thanks,
r.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20200117/b009820e/attachment.htm>


More information about the erlang-questions mailing list