atoms vs. integers
Richard A. O'Keefe
Wed Dec 10 01:59:26 CET 2003
Lennart Ohman <lennart.ohman@REDACTED> wrote:
Try doing term_to_binary/1 on what you intend to send and you'll
see what you are really sending.
Is that entirely true? My understanding was that terms sent between
nodes exploited an atom cache, so that sending the same term twice may
be considerably cheaper than sending the same bytes twice. That's certainly
what the Erlang 4.7 specification description of Erlang term encoding
seemed to imply.
More information about the erlang-questions