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

Gleb Peregud <>
Wed Apr 23 16:41:18 CEST 2008


On Wed, Apr 23, 2008 at 4:09 PM, Bjorn Gustavsson
<> wrote:
> "Gleb Peregud" <> writes:
> > May I ask is it doable (in finite and reasonable time) to introduce
>  > such optimization for private ets'es? Probably it will speed up some
>  > sort of tasks, eg. in data mining, where a lot of records is to be
>  > analyzed.
>
>  We have tried it and we could not find any significant improvements
>  in performance; in many cases it was slower. The reason is that there
>  will be copying when the process is garbage-collected (the garbage collector
>  is generational, so all of the data will not be copied every time, but
>  often enough to eliminate the potential performance benefits).

Thanks a lot for the clarification. I'll Cc to EQ for others to get
benefit of this information :)

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



-- 
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