[erlang-questions] term_to_binary and message passing
Thu Dec 28 16:14:16 CET 2006
Joel Reymont wrote:
> 1> size(term_to_binary(0.2)).
> Does this mean that any float I send within the VM will result in a
> 33-byte message?
No, message passing within the VM does not use the term_to_binary
encoding - it just makes a copy of the internal data representation.
(And the hybrid heap system can avoid much of the copying altogether.)
More information about the erlang-questions