From 62da0f2dff72fc5d58e549593fe9c73610713d9c Mon Sep 17 00:00:00 2001 From: Kjell Winblad Date: Mon, 8 Apr 2019 17:11:25 +0200 Subject: 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. --- erts/doc/src/persistent_term.xml | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'erts/doc') 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 @@ -120,19 +120,6 @@ erl +MIscs 2048 -
- Warning For Many Persistent Terms -

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:

- -
-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.
-
-
Best Practices for Using Persistent Terms -- cgit v1.2.3