<div dir="ltr">All,<div>What is the proper way to set a custom compression of <font face="monospace">term_to_binary/2</font> in a specific send operation, so that I can use it only when I'm sending a larger message (~80MB)?</div><div><br></div><div>Is this how I should do it, compressing and sending the compressed bytes explicitly?</div><div><br></div><div><font face="monospace">Bin = term_to_binary(Term, [{compressed, 9}]),</font></div><div><font face="monospace">my_proc ! Bin</font></div><div><br></div><div></div><div>Thanks,<br></div><div>r.</div></div>