[erlang-questions] [clarify] Are private ets optimized?
Bjorn Gustavsson
bjorn@REDACTED
Wed Apr 23 09:38:08 CEST 2008
"Gleb Peregud" <gleber.p@REDACTED> writes:
> Hello
>
> 1) As far as i know, data from ets'es is copied from ets to process
> heap every time it is accessed. Are ets'es with private flag optimized
> - do VM still copy data back and forth?
No, there is no optimization. Data is copied.
> 2) How data saved with set() behaves when accessed with get() ? Does
> it need copying?
No copying is done.
/Bjorn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
More information about the erlang-questions
mailing list