diff options
author | Rickard Green <[email protected]> | 2017-09-28 17:31:54 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2017-09-28 17:31:54 +0200 |
commit | 59042d04ad3d3371132a21423f8ea0e99f120a8b (patch) | |
tree | 27ba7de89ce89a943c9b55468d3f878684fabc62 | |
parent | 9173a80ec66d2bf6ea12314f6b09a97ec7b680ca (diff) | |
parent | a8fc754d208471ae77183d1437daec13c5720f06 (diff) | |
download | otp-59042d04ad3d3371132a21423f8ea0e99f120a8b.tar.gz otp-59042d04ad3d3371132a21423f8ea0e99f120a8b.tar.bz2 otp-59042d04ad3d3371132a21423f8ea0e99f120a8b.zip |
Merge branch 'rickard/doc-fix' into maint
* rickard/doc-fix:
Fix xmllint warning
-rw-r--r-- | system/doc/efficiency_guide/advanced.xml | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/system/doc/efficiency_guide/advanced.xml b/system/doc/efficiency_guide/advanced.xml index e1760d0ded..bb4440a245 100644 --- a/system/doc/efficiency_guide/advanced.xml +++ b/system/doc/efficiency_guide/advanced.xml @@ -264,21 +264,26 @@ </row> <row> <cell><marker id="unique_integers"/>Unique Integers on a Runtime System Instance</cell> - <cell>There are two types of unique integers both created using the - <seealso marker="erts:erlang#unique_integer/1">erlang:unique_integer()</seealso> - BIF. Unique integers created: - <taglist> - <tag>with the <c>monotonic</c> modifier</tag> - <item>consist of a set of <c>2⁶⁴ - 1</c> unique integers.</item> - <tag>without the <c>monotonic</c> modifier</tag> - <item>consist of a set of <c>2⁶⁴ - 1</c> unique integers per scheduler - thread and a set of <c>2⁶⁴ - 1</c> unique integers shared by - other threads. That is the total amount of unique integers without - the <c>monotonic</c> modifier is <c>(NoSchedulers + 1) * (2⁶⁴ - 1)</c></item> - </taglist> - If a unique integer is created each nano second, unique integers - will at earliest be reused after more than 584 years. That is, for - the foreseeable future they are unique enough.</cell> + <cell> + There are two types of unique integers both created using the + <seealso marker="erts:erlang#unique_integer/1">erlang:unique_integer()</seealso> + BIF: + <br/><br/> + <em>1.</em> Unique integers created <em>with</em> the + <c>monotonic</c> modifier consist of a set of <c>2⁶⁴ - 1</c> + unique integers. + <br/><br/> + <em>2.</em> Unique integers created <em>without</em> the + <c>monotonic</c> modifier consist of a set of <c>2⁶⁴ - 1</c> + unique integers per scheduler thread and a set of <c>2⁶⁴ - 1</c> + unique integers shared by other threads. That is, the total + amount of unique integers without the <c>monotonic</c> modifier + is <c>(NoSchedulers + 1) × (2⁶⁴ - 1)</c>. + <br/><br/> + If a unique integer is created each nano second, unique integers + will at earliest be reused after more than 584 years. That is, for + the foreseeable future they are unique enough. + </cell> </row> <tcaption>System Limits</tcaption> </table> |