Re: ETS: update list value without race condition

Frank Muller <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <CAFA6GnA7ywoiw7LesxN5HgpHv6P9sYumFXpgWK-UytKuV+1OdQ@mail.gmail.com>
Great, thanks!


> Correct.
>
> If the key is fully bound in the match spec no table traversal is needed.
>
>
>
> /Sverker
>
>
>
>
>
> *From:* Frank Muller <[email protected]>
> *Sent:* den 22 april 2021 14:37
> *To:* Sverker Eriksson <[email protected]>
> *Cc:* Erlang-Questions Questions <[email protected]>
> *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?
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.