diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2023-09-21 04:05:23 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 09:05:23 +0200 |
commit | b2896170130f1f998f7a1d51288fe66cbe345903 (patch) | |
tree | b34a21c35d87497d17d1688964ff6057ba612c99 /doc | |
parent | ed30692d29745701c1219cb618ffcd0e50906fe3 (diff) | |
download | Nim-b2896170130f1f998f7a1d51288fe66cbe345903.tar.gz |
Documentation only (#22735)
- Add Atomic ARC to Documentation. Documentation only, tiny diff.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/mm.md | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/doc/mm.md b/doc/mm.md index 431517b17..cdc612e5a 100644 --- a/doc/mm.md +++ b/doc/mm.md @@ -22,7 +22,7 @@ Multi-paradigm Memory Management Strategies Nim offers multiple different memory management strategies. To choose the memory management strategy use the `--mm:` switch. -**The recommended switch for newly written Nim code is `--mm:orc`.** + .. hint:: **The recommended switch for newly written Nim code is `--mm:orc`.** ARC/ORC @@ -73,17 +73,18 @@ Other MM modes Here is a comparison of the different memory management modes: -================== ======== ================= ============== =================== -Memory Management Heap Reference Cycles Stop-The-World Command line switch -================== ======== ================= ============== =================== -ORC Shared Cycle Collector No `--mm:orc` -ARC Shared Leak No `--mm:arc` -RefC Local Cycle Collector No `--mm:refc` -Mark & Sweep Local Cycle Collector No `--mm:markAndSweep` -Boehm Shared Cycle Collector Yes `--mm:boehm` -Go Shared Cycle Collector Yes `--mm:go` -None Manual Manual Manual `--mm:none` -================== ======== ================= ============== =================== +================== ======== ================= ============== ====== =================== +Memory Management Heap Reference Cycles Stop-The-World Atomic Command line switch +================== ======== ================= ============== ====== =================== +ORC Shared Cycle Collector No No `--mm:orc` +ARC Shared Leak No No `--mm:arc` +Atomic ARC Shared Leak No Yes `--mm:atomicArc` +RefC Local Cycle Collector No No `--mm:refc` +Mark & Sweep Local Cycle Collector No No `--mm:markAndSweep` +Boehm Shared Cycle Collector Yes No `--mm:boehm` +Go Shared Cycle Collector Yes No `--mm:go` +None Manual Manual Manual Manual `--mm:none` +================== ======== ================= ============== ====== =================== .. default-role:: code .. include:: rstcommon.rst |