ETS: update list value without race condition

Frank Muller frank.muller.erl@REDACTED
Thu Apr 22 17:02:04 CEST 2021


Great, thanks!


> Correct.
>
> If the key is fully bound in the match spec no table traversal is needed.
>
>
>
> /Sverker
>
>
>
>
>
> *From:* Frank Muller <frank.muller.erl@REDACTED>
> *Sent:* den 22 april 2021 14:37
> *To:* Sverker Eriksson <sverker.eriksson@REDACTED>
> *Cc:* Erlang-Questions Questions <erlang-questions@REDACTED>
> *Subject:* Re: ETS: update list value without race condition
>
>
>
> Old contains the key already.
>
>
>
> Maybe in this case there no full table scan :-)
>
> Sverker, could you please confirm?
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20210422/cd90f9cc/attachment.htm>


More information about the erlang-questions mailing list