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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phps-mode b94cbbf 58/96: Set GB collection in automatio


From: Christian Johansson
Subject: [elpa] externals/phps-mode b94cbbf 58/96: Set GB collection in automation
Date: Fri, 29 Oct 2021 11:14:46 -0400 (EDT)

branch: externals/phps-mode
commit b94cbbf8bfe45ed568a054fd937c0fe28b6314cc
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Set GB collection in automation
---
 admin/phps-mode-automation.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/admin/phps-mode-automation.el b/admin/phps-mode-automation.el
index 383fd1c..e1eecef 100644
--- a/admin/phps-mode-automation.el
+++ b/admin/phps-mode-automation.el
@@ -36,6 +36,11 @@
   (if (fboundp 'parser-generator-lr-export-to-elisp)
       (progn
 
+        ;; 100 MB before garbage collection
+        (setq
+         gc-cons-threshold
+         (* 1024 1024 100))
+
         (let ((global-declaration 
(phps-mode-automation-parser-generator--global-declaration)))
           (when (boundp 'parser-generator--global-declaration)
             (setq



reply via email to

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