Function: consult--with-increased-gc-f
consult--with-increased-gc-f is a byte-compiled function defined in
consult.el.
Signature
(consult--with-increased-gc-f FUN)
Documentation
Temporarily increase the GC limit in FUN to optimize for throughput.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260926.910/consult.el
(defun consult--with-increased-gc-f (fun)
"Temporarily increase the GC limit in FUN to optimize for throughput."
(if (> consult--gc-threshold gc-cons-threshold)
(let ((gc-cons-threshold consult--gc-threshold)
(gc-cons-percentage consult--gc-percentage))
(funcall fun))
(funcall fun)))