emacs-elpa-diffs
[Top][All Lists]
Advanced

[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)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]