Re: Performance of term_to_binary vs Bbinary_to_term
Valentin Micic <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <[email protected]> |
Thanks Lukas. > On 07 Jun 2021, at 15:16, Lukas Larsson <[email protected]> wrote: > > On Mon, Jun 7, 2021 at 3:04 PM Valentin Micic <[email protected] <mailto:[email protected]>> 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