[erlang-questions] Cross-referencing binaries

Lukas Larsson lukas@REDACTED
Tue Dec 19 14:11:28 CET 2017


On Mon, Dec 18, 2017 at 3:35 PM, Roger Lipscombe <roger@REDACTED>

> If I get the list of binaries for a process, using process_info(Pid,
> binary), each returned binary has an Id. If I find the same Id in the
> list of binaries for another process, is it the same binary?

yes, it is the same binary. The ID is, in the current implementation, the
pointer to the binary data.

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

More information about the erlang-questions mailing list