[erlang-questions] clarify: ETS and large binaries

Bjorn Gustavsson bjorn@REDACTED
Thu Nov 1 17:05:32 CET 2007


"Christian S" <chsu79@REDACTED> writes:

> What happens when one store large binaries in ets? Will ets only store
> references or will it copy the binary into ets memory space, so any
> lookup yielding said binary creates a new, but duplicate, large
> binary?

Ets will only store a reference to the binary.

/Bjorn
-- 
Björn Gustavsson, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list