ETS: update list value without race condition

Sverker Eriksson sverker.eriksson@REDACTED
Thu Apr 22 16:37:33 CEST 2021


If the key is fully bound in the match spec no table traversal is needed.





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: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5509 bytes
Desc: not available
URL: <>

More information about the erlang-questions mailing list