[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Raise gc-cons-threshold for org-element-cache-map
From: |
Allen Li |
Subject: |
[PATCH] Raise gc-cons-threshold for org-element-cache-map |
Date: |
Wed, 23 Aug 2023 00:34:31 -0700 |
Attached patch, I think it's self-explanatory so the commit message is
reproduced here:
org-element: Raise gc-cons-threshold for org-element-cache-map
This garbage collects many times when calling
org-get-buffer-tags (such as during tag completion) in a large file
with many tags. Raise gc-cons-threshold as this may affect other
callers in large files.
Note that org-element-parse-buffer also raises gc-cons-threshold as a
precedent.
This has no effect on most callers and increases performance for
extreme cases.
0001-org-element-Raise-gc-cons-threshold-for-org-element-.patch
Description: Text Data
- [PATCH] Raise gc-cons-threshold for org-element-cache-map,
Allen Li <=