Performance of term_to_binary vs Bbinary_to_term

Valentin Micic v@REDACTED
Mon Jun 7 15:42:01 CEST 2021


Thanks Lukas.

> On 07 Jun 2021, at 15:16, Lukas Larsson <lukas@REDACTED> wrote:
> 
> On Mon, Jun 7, 2021 at 3:04 PM Valentin Micic <v@REDACTED <mailto: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 <https://erlang.org/doc/apps/erts/erl_ext_dist.html>
> And the internal format here: https://blog.stenmans.org/theBeamBook/#CH-TypeSystem <https://blog.stenmans.org/theBeamBook/#CH-TypeSystem>
> 
> Lukas

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210607/a67ab9a0/attachment.htm>


More information about the erlang-questions mailing list