[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gcmh 920bc52 05/32: better comments
From: |
Andrea Corallo |
Subject: |
[elpa] externals/gcmh 920bc52 05/32: better comments |
Date: |
Mon, 16 Nov 2020 17:32:03 -0500 (EST) |
branch: externals/gcmh
commit 920bc52b0e09d419de70ba6d0c836b431f668288
Author: Andrea Corallo <andrea_corallo@yahoo.it>
Commit: Andrea Corallo <andrea_corallo@yahoo.it>
better comments
---
gcmh.el | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/gcmh.el b/gcmh.el
index 69c20e3..5ebe3d4 100644
--- a/gcmh.el
+++ b/gcmh.el
@@ -25,8 +25,10 @@
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
-;; Enforce an optimized sneaky Garbage Collection strategy to minimize GC
-;; interference with the user activity.
+;; Enforce a sneaky Garbage Collection strategy to minimize GC interference
with
+;; the activity.
+;; During normal use a high GC threshold is set.
+;; When idling GC is immediately triggered and a low threshold is set.
;; A more detailed explanation of the rationale behind this can be found at
;; http://akrl.sdf.org/
@@ -37,10 +39,10 @@
(require 'timer)
(require 'easy-mmode)
-(defcustom gcmh-low-cons-threshold gc-cons-threshold
+(defcustom gcmh-low-cons-threshold 800000
"High cons gc threshold.
-This is the gc threshold used while in idle. Default value is \
-`gc-cons-threshold'"
+This is the gc threshold used while while idling. Default value is \
+the same of `gc-cons-threshold' default"
:group 'gcmh
:type 'number)
@@ -57,7 +59,7 @@ paging."
:type 'number)
(defcustom gcmh-verbose nil
- "If t print a message into when garbage collecting."
+ "If t print a message when garbage collecting."
:group 'gcmh
:type 'boolean)
- [elpa] branch externals/gcmh created (now 5a83e25), Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh db9eceb 01/32: initial add, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 49db303 02/32: initial implementation, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 8008009 03/32: some minor fixes, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 920bc52 05/32: better comments,
Andrea Corallo <=
- [elpa] externals/gcmh 1953d91 15/32: Merge branch 'master' into 'master', Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 5bf0ed3 16/32: Prevent duplicate idle timers being created, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh a7f8cc2 17/32: Correct minor typos, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 91cd1f7 07/32: autoload minor mode, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh e7af13d 11/32: better readme layout, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh c96bd70 12/32: update readme, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 5664cb3 14/32: Add garbage collection start message, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 75de01e 04/32: add missing requires, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh c1bc27a 06/32: Add readme, Andrea Corallo, 2020/11/16
- [elpa] externals/gcmh 65787bc 08/32: typo fix, Andrea Corallo, 2020/11/16