[erlang-questions] term_to_binary and message passing
Thu Dec 28 15:17:25 CET 2006
On 12/28/06, Joel Reymont <> wrote:
> Does this mean that any float I send within the VM will result in a
> 33-byte message?
The external format contains the 131 marker, the float type tag and 31
bytes for the float value (which is encoded as a string with 20
decimals and padded with zeroes at the end).
So if the float is enclosed within another term, you will get away wit
only 32 bytes :-)
More information about the erlang-questions