Re: Performance of term_to_binary vs Bbinary_to_term
Lukas Larsson <[email protected]>
| Newsgroups | gmane.comp.lang.erlang.general |
|---|---|
| Message-ID | <CAP3zBqPKA9pTc768CQUtaS67T7u+=4GhA7vvr7WzZtwMZDMNcQ@mail.gmail.com> |
On Mon, Jun 7, 2021 at 3:04 PM Valentin Micic <[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 And the internal format here: https://blog.stenmans.org/theBeamBook/#CH-TypeSystem Lukas