diff options
author | Kjell Winblad <[email protected]> | 2019-04-08 17:11:25 +0200 |
---|---|---|
committer | Kjell Winblad <[email protected]> | 2019-04-18 17:39:11 +0200 |
commit | 62da0f2dff72fc5d58e549593fe9c73610713d9c (patch) | |
tree | b89a466b4093b1f3f7dc7b27ecb4190f5d8ffcf6 /erts/doc/src | |
parent | 1edbf63cf20b44d2bdc9370427ee2575f07f642d (diff) | |
download | otp-62da0f2dff72fc5d58e549593fe9c73610713d9c.tar.gz otp-62da0f2dff72fc5d58e549593fe9c73610713d9c.tar.bz2 otp-62da0f2dff72fc5d58e549593fe9c73610713d9c.zip |
Make persistent_term:put/2 and persistent_term:erase/1 yield
Prior to this commit, the functions put/2 and erase/1 in the
persistent_term module did not yield even if the persistent term table
was large (the persistent term table is copied every time put/2 or
erase/1 is called). Furthermore, a call to put/2 or erase/1 did only
consume a single reduction. This commit fixes these problems.
Diffstat (limited to 'erts/doc/src')
-rw-r--r-- | erts/doc/src/persistent_term.xml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/erts/doc/src/persistent_term.xml b/erts/doc/src/persistent_term.xml index 9d3c9afd80..672b00a83a 100644 --- a/erts/doc/src/persistent_term.xml +++ b/erts/doc/src/persistent_term.xml @@ -121,19 +121,6 @@ </section> <section> - <title>Warning For Many Persistent Terms</title> - <p>The runtime system will send a warning report to the - error logger if more than 20000 persistent terms have been - created. It will look like this:</p> - -<pre> -More than 20000 persistent terms have been created. -It is recommended to avoid creating an excessive number of -persistent terms, as creation and deletion of persistent terms -will be slower as the number of persistent terms increases.</pre> - </section> - - <section> <title>Best Practices for Using Persistent Terms</title> <p>It is recommended to use keys like <c>?MODULE</c> or |