emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2 2/3] Add garbage-collect-maybe function


From: Eli Zaretskii
Subject: Re: [PATCH v2 2/3] Add garbage-collect-maybe function
Date: Sun, 22 Nov 2020 20:14:12 +0200

> From: Spencer Baugh <sbaugh@catern.com>
> Cc: Spencer Baugh <sbaugh@catern.com>,
>       Eli Zaretskii <eliz@gnu.org>
> Date: Sun, 22 Nov 2020 00:08:28 -0500
> 
> +DEFUN ("garbage-collect-maybe", Fgarbage_collect_maybe,
> +Sgarbage_collect_maybe, 1, 1, "",
> +       doc: /* Call `garbage-collect' if enough allocation happened.
> +FACTOR determines what "enough" means here:
> +If FACTOR is a positive number N, it means to run GC if more than
> +1/Nth of the allocations needed to triger automatic allocation took
                                      ^^^^^^
"trigger"

The "1/Nth of the allocations needed to triger automatic allocation"
part is confusing.  Did you mean "1/Nth of the allocations determined
by `gc-cons-threshold' and `gc-cons-percentage'"?



reply via email to

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