Performance of term_to_binary vs Bbinary_to_term
Lukas Larsson
lukas@REDACTED
Mon Jun 7 15:16:24 CEST 2021
On Mon, Jun 7, 2021 at 3:04 PM Valentin Micic <v@REDACTED> wrote:
> Put differently, is there any difference between internal and external
> term presentation?
>
They are very different. The internal representation is larger in size but
faster to navigate/manipulate. They also have very different requirements
that make them different.
You can read more about the external term format here:
https://erlang.org/doc/apps/erts/erl_ext_dist.html
And the internal format here:
https://blog.stenmans.org/theBeamBook/#CH-TypeSystem
Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210607/07ee3fd3/attachment.htm>
More information about the erlang-questions
mailing list