[erlang-questions] [clarify] Are private ets optimized?

Gleb Peregud gleber.p@REDACTED
Tue Apr 22 22:55:55 CEST 2008


On 4/22/08, Gleb Peregud <gleber.p@REDACTED> wrote:
> 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?
>
> 2) How data saved with set() behaves when accessed with get() ? Does
> it need copying?
Sorry, i've sent it to hasty. I meant put() for putting data into
process dictionary not set() :)

>
> If there is any difference: in my case i'm talking about quite large
> lists of integers (not bigints).
>
> Best regards,
> --
> Gleb Peregud
> http://gleber.pl/
>
> Every minute is to be grasped.
> Time waits for nobody.
> -- Inscription on a Zen Gong
>


-- 
Gleb Peregud
http://gleber.pl/

Every minute is to be grasped.
Time waits for nobody.
-- Inscription on a Zen Gong



More information about the erlang-questions mailing list